Exception: Legate::Auth::Error
- Defined in:
- lib/legate/auth/error.rb
Overview
Base class for all authentication-related errors
Direct Known Subclasses
ConfigurationError, CredentialError, ProviderError, TokenExchangeError, TokenRefreshError, TokenRevocationError
Instance Method Summary collapse
-
#initialize(message = nil, cause = nil) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(message = nil, cause = nil) ⇒ Error
Returns a new instance of Error.
10 11 12 13 14 |
# File 'lib/legate/auth/error.rb', line 10 def initialize( = nil, cause = nil) = "Authentication error#{": #{}" if }" super() set_backtrace(cause.backtrace) if cause && cause.backtrace end |