Exception: Mxmnd::ClientError
- Inherits:
-
StandardError
- Object
- StandardError
- Mxmnd::ClientError
- Defined in:
- lib/mxmnd.rb
Direct Known Subclasses
BadRequest, Forbidden, NotFound, PaymentRequired, Unauthorized
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
Instance Method Summary collapse
-
#initialize(code, error) ⇒ ClientError
constructor
A new instance of ClientError.
Constructor Details
#initialize(code, error) ⇒ ClientError
Returns a new instance of ClientError.
53 54 55 56 |
# File 'lib/mxmnd.rb', line 53 def initialize(code, error) @code = code super(error) end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
51 52 53 |
# File 'lib/mxmnd.rb', line 51 def code @code end |