Sha256: e21b2de43172b702a1b92a7fc5e9077f7de6de95bfac6fe13617db03d13dab20

Contents?: true

Size: 289 Bytes

Versions: 7

Compression:

Stored size: 289 Bytes

Contents

# frozen_string_literal: true

module PhiAttrs
  module Exceptions
    class PhiAccessException < StandardError
      TAG = 'UNAUTHORIZED ACCESS'

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
phi_attrs-0.3.2 lib/phi_attrs/exceptions.rb
phi_attrs-0.3.1 lib/phi_attrs/exceptions.rb
phi_attrs-0.3.0 lib/phi_attrs/exceptions.rb
phi_attrs-0.2.4 lib/phi_attrs/exceptions.rb
phi_attrs-0.2.2 lib/phi_attrs/exceptions.rb
phi_attrs-0.2.1 lib/phi_attrs/exceptions.rb
phi_attrs-0.2.0 lib/phi_attrs/exceptions.rb