Class: LightIO::Core::Beam::BeamError
- Inherits:
-
Object
- Object
- LightIO::Core::Beam::BeamError
- Extended by:
- Forwardable
- Defined in:
- lib/lightio/core/beam.rb
Overview
special class for simulate Thread#raise for Beam
Instance Attribute Summary collapse
-
#error ⇒ Object
readonly
Returns the value of attribute error.
-
#parent ⇒ Object
readonly
Returns the value of attribute parent.
Instance Method Summary collapse
-
#initialize(error) ⇒ BeamError
constructor
A new instance of BeamError.
Constructor Details
Instance Attribute Details
#error ⇒ Object (readonly)
Returns the value of attribute error.
24 25 26 |
# File 'lib/lightio/core/beam.rb', line 24 def error @error end |
#parent ⇒ Object (readonly)
Returns the value of attribute parent.
24 25 26 |
# File 'lib/lightio/core/beam.rb', line 24 def parent @parent end |