Exception: CredentialAuthorization::InsufficientPermission

Inherits:
StandardError
  • Object
show all
Defined in:
lib/credential_authorization/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(permission) ⇒ InsufficientPermission

Returns a new instance of InsufficientPermission.



3
4
5
# File 'lib/credential_authorization/errors.rb', line 3

def initialize(permission)
  super("Not enough permissions for (#{permission}).")
end