Exception: Motion::ComponentError
- Defined in:
- lib/motion/errors.rb
Direct Known Subclasses
ComponentRenderingError, InvalidComponentStateError, MotionNotMapped, UpgradeNotImplementedError
Instance Attribute Summary collapse
-
#component ⇒ Object
readonly
Returns the value of attribute component.
Instance Method Summary collapse
-
#initialize(component, message = nil) ⇒ ComponentError
constructor
A new instance of ComponentError.
Constructor Details
#initialize(component, message = nil) ⇒ ComponentError
Returns a new instance of ComponentError.
11 12 13 14 15 |
# File 'lib/motion/errors.rb', line 11 def initialize(component, = nil) super() @component = component end |
Instance Attribute Details
#component ⇒ Object (readonly)
Returns the value of attribute component.
9 10 11 |
# File 'lib/motion/errors.rb', line 9 def component @component end |