Exception: Uncomtrade::ResponseError
- Inherits:
-
StandardError
- Object
- StandardError
- Uncomtrade::ResponseError
- Defined in:
- lib/uncomtrade/errors.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
readonly
Returns the value of attribute description.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(status, description, msg) ⇒ ResponseError
constructor
A new instance of ResponseError.
Constructor Details
#initialize(status, description, msg) ⇒ ResponseError
Returns a new instance of ResponseError.
12 13 14 15 16 |
# File 'lib/uncomtrade/errors.rb', line 12 def initialize(status, description, msg) @status = status @description = description super(msg) end |
Instance Attribute Details
#description ⇒ Object (readonly)
Returns the value of attribute description.
11 12 13 |
# File 'lib/uncomtrade/errors.rb', line 11 def description @description end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
11 12 13 |
# File 'lib/uncomtrade/errors.rb', line 11 def status @status end |