Exception: PhiAttrs::Exceptions::PhiAccessException

Inherits:
StandardError
  • Object
show all
Defined in:
lib/phi_attrs/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(msg) ⇒ PhiAccessException

Returns a new instance of PhiAccessException.



4
5
6
7
# File 'lib/phi_attrs/exceptions.rb', line 4

def initialize(msg)
  PhiAttrs::Logger.tagged('UNAUTHORIZED ACCESS') { PhiAttrs::Logger.error(msg) }
  super(msg)
end