Exception: LocalJumpError
- Inherits:
-
StandardError
- Object
- Exception
- StandardError
- LocalJumpError
- Defined in:
- opal/opal/corelib/error.rb,
opal/opal/corelib/error.rb
Instance Attribute Summary collapse
-
#exit_value ⇒ Object
readonly
Returns the value of attribute exit_value.
-
#reason ⇒ Object
readonly
Returns the value of attribute reason.
Instance Method Summary collapse
-
#initialize(message, exit_value = nil, reason = :noreason) ⇒ LocalJumpError
constructor
A new instance of LocalJumpError.
Methods inherited from Exception
#backtrace, #backtrace_locations, #cause, #copy_instance_variables, exception, #exception, #full_message, #inspect, #message, new, #set_backtrace, #to_s
Constructor Details
#initialize(message, exit_value = nil, reason = :noreason) ⇒ LocalJumpError
Returns a new instance of LocalJumpError.
322 323 324 325 326 |
# File 'opal/opal/corelib/error.rb', line 322 def initialize(, exit_value = nil, reason = :noreason) super @exit_value = exit_value @reason = reason end |
Instance Attribute Details
#exit_value ⇒ Object (readonly)
Returns the value of attribute exit_value.
320 321 322 |
# File 'opal/opal/corelib/error.rb', line 320 def exit_value @exit_value end |
#reason ⇒ Object (readonly)
Returns the value of attribute reason.
320 321 322 |
# File 'opal/opal/corelib/error.rb', line 320 def reason @reason end |