Exception: Legate::Auth::TokenRefreshError
- Defined in:
- lib/legate/auth/error.rb
Overview
Raised when a token refresh operation fails
Instance Method Summary collapse
-
#initialize(message = nil, provider_error = nil, cause = nil) ⇒ TokenRefreshError
constructor
A new instance of TokenRefreshError.
Constructor Details
#initialize(message = nil, provider_error = nil, cause = nil) ⇒ TokenRefreshError
Returns a new instance of TokenRefreshError.
41 42 43 44 45 |
# File 'lib/legate/auth/error.rb', line 41 def initialize( = nil, provider_error = nil, cause = nil) = || 'Token refresh failed' = "#{}: #{provider_error}" if provider_error super(, cause) end |