Exception: Resas::Api::Response::BaseError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/resas/api/response/base_error.rb

Instance Method Summary collapse

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

#messageObject



18
19
20
# File 'lib/resas/api/response/base_error.rb', line 18

def message
  "#{ __message__ } (#{ path })"
end