Exception: ContentGateway::ResourceNotFound

Inherits:
BaseError
  • Object
show all
Defined in:
lib/content_gateway/exceptions.rb

Instance Attribute Summary

Attributes inherited from BaseError

#info, #resource_url, #status_code, #wrapped_exception

Instance Method Summary collapse

Constructor Details

#initialize(resource_url, wrapped_exception = nil) ⇒ ResourceNotFound

Returns a new instance of ResourceNotFound.



34
35
36
# File 'lib/content_gateway/exceptions.rb', line 34

def initialize(resource_url, wrapped_exception = nil)
  super(resource_url, wrapped_exception, 404)
end