StaticformatCreates an error message from an OAuth error response.
OAuth error code
Optionaldescription: stringOptional error description from server
Combined error message for logging
StaticgetGets a user-friendly message for an OAuth error.
The OAuth error code or error message
User-friendly error message
StaticisChecks if an error is retryable.
The OAuth error code or error message
true if the operation can be retried
StaticmapMaps an OAuth error code to user-friendly error information.
The OAuth error code or error message
Error information with user message and retry guidance
StaticrequiresChecks if an error indicates re-authorization is required.
The OAuth error code or error message
true if re-authorization is required
Provides user-friendly error messages for OAuth errors.
Maps technical OAuth error codes to messages that help users understand what went wrong and what they can do about it.
Example