Exception: CredentialAuthorization::InvalidPermission

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

Instance Method Summary collapse

Constructor Details

#initialize(permission) ⇒ InvalidPermission

Returns a new instance of InvalidPermission.



21
22
23
# File 'lib/credential_authorization/errors.rb', line 21

def initialize(permission)
  super("The permission (#{permission}) doesn't exist.")
end