Exception: Kaya::Error::Result
- Inherits:
-
StandardError
- Object
- StandardError
- Kaya::Error::Result
- Defined in:
- lib/kaya/error/errors.rb
Overview
Raised when there is an error related to Results.
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
Instance Method Summary collapse
-
#initialize(id, message = nil) ⇒ Result
constructor
A new instance of Result.
Constructor Details
#initialize(id, message = nil) ⇒ Result
Returns a new instance of Result.
18 19 20 21 22 |
# File 'lib/kaya/error/errors.rb', line 18 def initialize(id, =nil) @id = id = super() end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
16 17 18 |
# File 'lib/kaya/error/errors.rb', line 16 def id @id end |