Exception: Leash::AuthError
Overview
Raised when authentication fails (missing cookie, invalid/expired token, etc.)
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(message = "Authentication failed") ⇒ AuthError
constructor
A new instance of AuthError.
Constructor Details
#initialize(message = "Authentication failed") ⇒ AuthError
Returns a new instance of AuthError.
9 10 11 |
# File 'lib/leash/auth.rb', line 9 def initialize( = "Authentication failed") super(, code: "auth_error") end |