Exception: Boar::Exceptions::AuthorizationFailed

Inherits:
Error
  • Object
show all
Defined in:
lib/boar/exceptions.rb

Instance Attribute Summary

Attributes inherited from Error

#code

Instance Method Summary collapse

Methods inherited from Error

must_raise?

Constructor Details

#initialize(message = nil) ⇒ AuthorizationFailed

Returns a new instance of AuthorizationFailed.



35
36
37
# File 'lib/boar/exceptions.rb', line 35

def initialize(message = nil)
  super(403, message)
end