Exception: JsonApiClient::Errors::ServerError

Inherits:
ApiError
  • Object
show all
Defined in:
lib/json_api_client/errors.rb

Direct Known Subclasses

Conflict, NotFound, UnexpectedStatus

Instance Attribute Summary

Attributes inherited from ApiError

#env

Instance Method Summary collapse

Constructor Details

#initialize(env, msg = 'Internal server error') ⇒ ServerError

Returns a new instance of ServerError.



24
25
26
# File 'lib/json_api_client/errors.rb', line 24

def initialize(env, msg = 'Internal server error')
  super env, msg
end