Exception: Mutx::Error::Result
- Inherits:
-
StandardError
- Object
- StandardError
- Mutx::Error::Result
- Defined in:
- lib/mutx/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.
19 20 21 22 23 |
# File 'lib/mutx/error/errors.rb', line 19 def initialize(id, =nil) @id = id = super() end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
17 18 19 |
# File 'lib/mutx/error/errors.rb', line 17 def id @id end |