Exception: Sessions::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/sessions/errors.rb

Overview

Base class for every error this gem raises, so hosts can ‘rescue Sessions::Error` to catch anything sessions-specific.

Deliberately tiny: the gem sits on the authentication hot path, where its contract is to OBSERVE and never to interrupt — tracking code rescues its own failures (see Sessions.safely) instead of raising into a sign-in. Errors here are reserved for things that SHOULD stop you: invalid configuration at boot, and generator-time misdetection.

Direct Known Subclasses

ConfigurationError, UnknownAuthSystemError