Exception: RegistryApiClient::HTTP::ResponseError

Inherits:
Exception
  • Object
show all
Defined in:
lib/docker_cake/registry_api_client.rb

Direct Known Subclasses

MethodNotAllowed, NotFound, Unauthorized

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, response) ⇒ ResponseError

Returns a new instance of ResponseError.



401
402
403
404
# File 'lib/docker_cake/registry_api_client.rb', line 401

def initialize(message, response)
  super(message)
  @response = response
end

Instance Attribute Details

#responseObject

Returns the value of attribute response.



400
401
402
# File 'lib/docker_cake/registry_api_client.rb', line 400

def response
  @response
end