Exception: Resas::Api::Response::BaseError
- Inherits:
-
StandardError
- Object
- StandardError
- Resas::Api::Response::BaseError
- Defined in:
- lib/resas/api/response/base_error.rb
Direct Known Subclasses
BadRequest, Forbidden, NotFound, TooManyRequests, ValidationError
Instance Method Summary collapse
-
#initialize(body) ⇒ BaseError
constructor
A new instance of BaseError.
- #message ⇒ Object
Constructor Details
#initialize(body) ⇒ BaseError
Returns a new instance of BaseError.
14 15 16 |
# File 'lib/resas/api/response/base_error.rb', line 14 def initialize( body ) @body = body end |
Instance Method Details
#message ⇒ Object
18 19 20 |
# File 'lib/resas/api/response/base_error.rb', line 18 def "#{ } (#{ path })" end |