Exception: Actions::Errors::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Actions::Errors::Error
- Defined in:
- lib/actions/errors.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#context ⇒ Object
readonly
Returns the value of attribute context.
Instance Method Summary collapse
-
#initialize(message, context) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(message, context) ⇒ Error
Returns a new instance of Error.
6 7 8 9 |
# File 'lib/actions/errors.rb', line 6 def initialize(, context) super() @context = context end |
Instance Attribute Details
#context ⇒ Object (readonly)
Returns the value of attribute context.
4 5 6 |
# File 'lib/actions/errors.rb', line 4 def context @context end |