Exception: Doze::ClientEntityError

Inherits:
ClientError show all
Defined in:
lib/doze/error.rb

Overview

An error parsing a submitted Entity representation. Should typically only be raised within Entity code

Instance Attribute Summary

Attributes inherited from Error

#headers, #http_status

Instance Method Summary collapse

Methods inherited from Error

#backtrace

Constructor Details

#initialize(message = nil) ⇒ ClientEntityError

Returns a new instance of ClientEntityError.



25
26
27
# File 'lib/doze/error.rb', line 25

def initialize(message=nil)
  super(Doze::Utils::STATUS_BAD_REQUEST, message)
end