Exception: Vigilante::AccessDenied

Inherits:
StandardError
  • Object
show all
Includes:
ExceptionsMixin
Defined in:
lib/vigilante.rb

Overview

:nodoc:

Instance Method Summary collapse

Constructor Details

#initialize(str = 'Access denied: you do not have the right permissions for the requested action.') ⇒ AccessDenied

Returns a new instance of AccessDenied.



18
19
20
# File 'lib/vigilante.rb', line 18

def initialize(str='Access denied: you do not have the right permissions for the requested action.')
  super(str)
end