Skip to content

Add typed XeroTokenException for OAuth token-endpoint failures - #667

Open
ZacMarcus wants to merge 1 commit into
XeroAPI:masterfrom
ZacMarcus:oath-typed-exception
Open

ZacMarcus wants to merge 1 commit into
XeroAPI:masterfrom
ZacMarcus:oath-typed-exception

Conversation

@ZacMarcus

Copy link
Copy Markdown

Return IdentityModel.Client's ErrorDescription, ErrorType, HttpStatusCode, and the underlying transport exception in structured fields for better error handling on the callers end.

Message is deliberately still just the bare error code so existing callers that classify on Message keep working unchanged.

Return IdentityModel.Client's ErrorDescription, ErrorType, HttpStatusCode, and the underlying transport exception in structured fields for better error handling on the callers end.

Message is deliberately still just the bare error code so existing callers that
classify on Message keep working unchanged.
@ZacMarcus
ZacMarcus force-pushed the oath-typed-exception branch from d49bd8c to f4bea2c Compare October 2, 2026 09:55

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant