Exception: Arke::Resource::Errors::Exception

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

Instance Method Summary collapse

Constructor Details

#initialize(resource) ⇒ Exception

Returns a new instance of Exception.



25
26
27
# File 'lib/arke/resource/errors.rb', line 25

def initialize(resource)
  self.message = "An error on the specificed resource: Status Code #{resource.code}"
end