Skip to content
On this page
class · Ruby 4.0

UncaughtThrowError

< ArgumentError 3 instance methods 1 class methods

Raised when throw is called with a tag which does not have corresponding catch block.

Example
throw "foo", "bar"

raises the exception:

UncaughtThrowError: uncaught throw "foo"

Class methods 1

Instance methods 3