Exception: Doze::ClientResourceError
- Inherits:
-
ClientError
- Object
- StandardError
- Error
- ClientError
- Doze::ClientResourceError
- Defined in:
- lib/doze/error.rb
Overview
Can be used for any error at the resource level which is caused by client error. Should relate to a problem processing the resource-level semantics of a request, rather than a syntactic error in a submitted entity representation. see tools.ietf.org/html/rfc4918#section-11.2
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(message = nil) ⇒ ClientResourceError
constructor
A new instance of ClientResourceError.
Methods inherited from Error
Constructor Details
#initialize(message = nil) ⇒ ClientResourceError
Returns a new instance of ClientResourceError.
42 43 44 |
# File 'lib/doze/error.rb', line 42 def initialize(=nil) super(Doze::Utils::STATUS_UNPROCESSABLE_ENTITY, ) end |