Exception: Arke::Resource::Errors::Exception
- Inherits:
-
StandardError
- Object
- StandardError
- Arke::Resource::Errors::Exception
- Defined in:
- lib/arke/resource/errors.rb
Instance Method Summary collapse
-
#initialize(resource) ⇒ Exception
constructor
A new instance of Exception.
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. = "An error on the specificed resource: Status Code #{resource.code}" end |