Exception: AtprotoAuth::Token::RefreshError

Inherits:
Error
  • Object
show all
Defined in:
lib/atproto_auth/token/refresh.rb

Overview

Raised during token refresh operations, includes retry information and server responses

Instance Attribute Summary

Attributes inherited from Error

#error_code, #retry_possible, #token_type

Instance Method Summary collapse

Constructor Details

#initialize(message, retry_possible: true) ⇒ RefreshError

Returns a new instance of RefreshError.



43
44
45
46
47
48
49
50
# File 'lib/atproto_auth/token/refresh.rb', line 43

def initialize(message, retry_possible: true)
  super(
    message,
    token_type: "refresh",
    error_code: "refresh_failed",
    retry_possible: retry_possible
  )
end