Exception: CredentialAuthorization::PermissionNotFound

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

Instance Method Summary collapse

Constructor Details

#initialize(permission) ⇒ PermissionNotFound

Returns a new instance of PermissionNotFound.



15
16
17
# File 'lib/credential_authorization/errors.rb', line 15

def initialize(permission)
  super("No permissions found with (#{permission}).")
end