Exception: FrozenError
- Inherits:
-
RuntimeError
- Object
- Exception
- StandardError
- RuntimeError
- FrozenError
- Defined in:
- opal/opal/corelib/error.rb,
opal/opal/corelib/error.rb
Instance Attribute Summary collapse
-
#receiver ⇒ Object
readonly
Returns the value of attribute receiver.
Instance Method Summary collapse
-
#initialize(message, receiver: nil) ⇒ FrozenError
constructor
A new instance of FrozenError.
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, receiver: nil) ⇒ FrozenError
Returns a new instance of FrozenError.
264 265 266 267 |
# File 'opal/opal/corelib/error.rb', line 264 def initialize(, receiver: nil) super @receiver = receiver end |
Instance Attribute Details
#receiver ⇒ Object (readonly)
Returns the value of attribute receiver.
262 263 264 |
# File 'opal/opal/corelib/error.rb', line 262 def receiver @receiver end |