Exception: Fluence::Gateway::Auth::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/fluence/gateway/auth/errors.rb

Overview

Root of the gem's error hierarchy. Rescue this class to catch any failure raised by fluence-gateway-auth.

Examples:

Rescue any gem error

begin
  Fluence::Gateway::Auth.configuration.hmac_secret
rescue Fluence::Gateway::Auth::Error => e
  Rails.logger.warn(e.message)
end

Direct Known Subclasses

ConfigurationError