Exception: XeroKiwi::OAuth::CodeExchangeError

Inherits:
AuthenticationError show all
Defined in:
lib/xero_kiwi/oauth.rb

Overview

Raised when the auth code can’t be exchanged for tokens (invalid_grant, expired code, wrong redirect_uri, missing PKCE verifier, etc). Caller should restart the OAuth flow from the authorise step.

Instance Attribute Summary

Attributes inherited from APIError

#body, #status

Method Summary

Methods inherited from APIError

#initialize

Constructor Details

This class inherits a constructor from XeroKiwi::APIError