1
0
Files
PayPal-PHP-Server-SDK/doc/models/o-auth-provider-exception.md
2024-09-06 15:38:17 +05:00

1.1 KiB

O Auth Provider Exception

OAuth 2 Authorization endpoint exception.

Structure

OAuthProviderException

Fields

Name Type Tags Description Getter Setter
error string(OAuthProviderError) Required Gets or sets error code. getError(): string setError(string error): void
errorDescription ?string Optional Gets or sets human-readable text providing additional information on error.
Used to assist the client developer in understanding the error that occurred.
getErrorDescription(): ?string setErrorDescription(?string errorDescription): void
errorUri ?string Optional Gets or sets a URI identifying a human-readable web page with information about the error, used to provide the client developer with additional information about the error. getErrorUri(): ?string setErrorUri(?string errorUri): void

Example (as JSON)

{
  "error": "unsupported_grant_type",
  "error_description": "error_description8",
  "error_uri": "error_uri8"
}