Exception: Granite::Action::Error
- Defined in:
- lib/granite/action/error.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#action ⇒ Object
readonly
Returns the value of attribute action.
Instance Method Summary collapse
-
#initialize(message, action = nil) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(message, action = nil) ⇒ Error
Returns a new instance of Error.
8 9 10 11 |
# File 'lib/granite/action/error.rb', line 8 def initialize(, action = nil) @action = action super() end |
Instance Attribute Details
#action ⇒ Object (readonly)
Returns the value of attribute action.
6 7 8 |
# File 'lib/granite/action/error.rb', line 6 def action @action end |