Exception: Async::Matrix::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Async::Matrix::Error
- Defined in:
- lib/async/matrix/error.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#errcode ⇒ Object
readonly
Returns the value of attribute errcode.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(errcode, message, status: nil) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(errcode, message, status: nil) ⇒ Error
Returns a new instance of Error.
13 14 15 16 17 |
# File 'lib/async/matrix/error.rb', line 13 def initialize(errcode, , status: nil) @errcode = errcode @status = status super() end |
Instance Attribute Details
#errcode ⇒ Object (readonly)
Returns the value of attribute errcode.
11 12 13 |
# File 'lib/async/matrix/error.rb', line 11 def errcode @errcode end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
11 12 13 |
# File 'lib/async/matrix/error.rb', line 11 def status @status end |