[フレーム]

Exception: UncaughtThrowError

Inherits:
ArgumentError show all
Defined in:
opal/opal/corelib/error.rb,
opal/opal/corelib/error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Exception

#backtrace , #backtrace_locations , #cause , exception , #exception , #full_message , #inspect , #message , new , #set_backtrace , #to_s

Constructor Details

#initialize(tag, value = nil) ⇒ UncaughtThrowError

Returns a new instance of UncaughtThrowError.

261
262
263
264
265
266
# File 'opal/opal/corelib/error.rb', line 261
def initialize(tag, value = nil)
 @tag = tag
 @value = value
 super("uncaught throw #{@tag.inspect}")
end

Instance Attribute Details

#tagObject (readonly)

Returns the value of attribute tag.

259
260
261
# File 'opal/opal/corelib/error.rb', line 259
def tag
 @tag
end

#valueObject (readonly)

Returns the value of attribute value.

259
260
261
# File 'opal/opal/corelib/error.rb', line 259
def value
 @value
end

AltStyle によって変換されたページ (->オリジナル) /