Exception: ChatWork::APIError
- Inherits:
-
ChatWorkError
- Object
- StandardError
- ChatWorkError
- ChatWork::APIError
- Defined in:
- lib/chatwork/chatwork_error.rb
Instance Attribute Summary collapse
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
Attributes inherited from ChatWorkError
Instance Method Summary collapse
Methods inherited from ChatWorkError
Constructor Details
This class inherits a constructor from ChatWork::ChatWorkError
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
45 46 47 |
# File 'lib/chatwork/chatwork_error.rb', line 45 def errors @errors end |
Instance Method Details
#initilize(message, error_response) ⇒ Object
47 48 49 50 |
# File 'lib/chatwork/chatwork_error.rb', line 47 def initilize(, error_response) @errors = error_response["errors"] super(error_response["message"], status, error_response) end |