Exception: ContentGateway::UnauthorizedError

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) ⇒ UnauthorizedError

Returns a new instance of UnauthorizedError.



22
23
24
# File 'lib/content_gateway/exceptions.rb', line 22

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