Exception: ZeroAuthorization::Exceptions::InvalidAuthorizationMode
- Inherits:
-
StandardError
- Object
- StandardError
- ZeroAuthorization::Exceptions::InvalidAuthorizationMode
- Defined in:
- lib/zero_authorization/exceptions.rb
Instance Method Summary collapse
-
#initialize(msg = 'Invalid authorization mode in use it should be from :strict, :warning or :superficial') ⇒ InvalidAuthorizationMode
constructor
A new instance of InvalidAuthorizationMode.
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 |