Exception: JsonApiClient::Errors::ApiError

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

Direct Known Subclasses

ClientError, ConnectionError, ServerError

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(env) ⇒ ApiError

Returns a new instance of ApiError.



5
6
7
# File 'lib/json_api_client/errors.rb', line 5

def initialize(env)
  @env = env
end

Instance Attribute Details

#envObject (readonly)

Returns the value of attribute env.



4
5
6
# File 'lib/json_api_client/errors.rb', line 4

def env
  @env
end