Exception: SeaFood::Error
- Inherits:
-
StandardError
- Object
- StandardError
- SeaFood::Error
- Defined in:
- lib/sea_food/error.rb
Instance Attribute Summary collapse
-
#result ⇒ Object
readonly
Returns the value of attribute result.
Instance Method Summary collapse
-
#initialize(message, params = {}) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(message, params = {}) ⇒ Error
Returns a new instance of Error.
5 6 7 8 |
# File 'lib/sea_food/error.rb', line 5 def initialize(, params = {}) @result = params[:result] super() end |
Instance Attribute Details
#result ⇒ Object (readonly)
Returns the value of attribute result.
3 4 5 |
# File 'lib/sea_food/error.rb', line 3 def result @result end |