Exception: Chronicle::NotAcceptableError

Inherits:
BaseError
  • Object
show all
Defined in:
app/errors/chronicle/not_acceptable_error.rb

Instance Attribute Summary

Attributes inherited from BaseError

#status_code

Instance Method Summary collapse

Constructor Details

#initialize(message = 'Request not acceptable') ⇒ NotAcceptableError

Returns a new instance of NotAcceptableError.



3
4
5
# File 'app/errors/chronicle/not_acceptable_error.rb', line 3

def initialize(message = 'Request not acceptable')
  super(message, 406)
end