Exception: OpenFga::TokenManager::TokenRefreshError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/openfga/token_manager/token_manager.rb

Overview

TokenRefreshError is raised if the access token cannot be refreshed from the authorization server.

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ TokenRefreshError

Returns a new instance of TokenRefreshError.



7
8
9
10
# File 'lib/openfga/token_manager/token_manager.rb', line 7

def initialize(message)
  @message = message
  super "Token refresh error: #{message}"
end