Exception: FPM::Fry::Recipe::Error
- Inherits:
-
StandardError
- Object
- StandardError
- FPM::Fry::Recipe::Error
- Defined in:
- lib/fpm/fry/recipe/error.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
Instance Method Summary collapse
-
#initialize(msg = nil, data = {}) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(msg = nil, data = {}) ⇒ Error
Returns a new instance of Error.
8 9 10 11 |
# File 'lib/fpm/fry/recipe/error.rb', line 8 def initialize(msg=nil, data={}) super(msg) @data = data end |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
6 7 8 |
# File 'lib/fpm/fry/recipe/error.rb', line 6 def data @data end |