Exception: Chronicle::ForbiddenError

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

Instance Attribute Summary

Attributes inherited from BaseError

#status_code

Instance Method Summary collapse

Constructor Details

#initialize(message = 'Unauthorized') ⇒ ForbiddenError

Returns a new instance of ForbiddenError.



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

def initialize(message = 'Unauthorized')
  super(message, 403)
end