Exception: ZeroAuthorization::Exceptions::InvalidAuthorizationMode

Inherits:
StandardError
  • Object
show all
Defined in:
lib/zero_authorization/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(msg = 'Invalid authorization mode in use it should be from :strict, :warning or :superficial') ⇒ InvalidAuthorizationMode

Returns a new instance of InvalidAuthorizationMode.



21
22
23
# File 'lib/zero_authorization/exceptions.rb', line 21

def initialize(msg = 'Invalid authorization mode in use it should be from :strict, :warning or :superficial')
  super(msg)
end