Exception: Chronicle::AuthenticationError

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

Instance Attribute Summary

Attributes inherited from BaseError

#status_code

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of AuthenticationError.



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

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