Exception: PhiAttrs::Exceptions::PhiAccessException

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

Constant Summary collapse

TAG =
'UNAUTHORIZED ACCESS'

Instance Method Summary collapse

Constructor Details

#initialize(msg) ⇒ PhiAccessException

Returns a new instance of PhiAccessException.



8
9
10
11
# File 'lib/phi_attrs/exceptions.rb', line 8

def initialize(msg)
  PhiAttrs::Logger.tagged(TAG) { PhiAttrs::Logger.error(msg) }
  super(msg)
end