ParResponseException
extends Exception
in package
implements
ExtendedExceptionInterface
FinalYes
The Pushed Authorization Request endpoint (`/oauth/par`) returned an unexpected response.
Tags
Table of Contents
Interfaces
- ExtendedExceptionInterface
- Represents all errors generated by SDK itself.
Properties
Methods
- __construct() : mixed
- getRequest() : RequestInterface|null
- getResponse() : ResponseInterface|null
- message() : string
- Produces a formatted exception string using the supplied values.
- setRequest() : self
- setResponse() : self
Properties
$request
private
RequestInterface|null
$request
= null
$response
private
ResponseInterface|null
$response
= null
Methods
__construct()
public
__construct([string|null $message = null ][, int $code = 0 ][, Throwable|null $previous = null ][, ResponseInterface|null $response = null ][, RequestInterface|null $request = null ]) : mixed
Parameters
- $message : string|null = null
- $code : int = 0
- $previous : Throwable|null = null
- $response : ResponseInterface|null = null
- $request : RequestInterface|null = null
getRequest()
public
getRequest() : RequestInterface|null
Return values
RequestInterface|nullgetResponse()
public
getResponse() : ResponseInterface|null
Return values
ResponseInterface|nullmessage()
Produces a formatted exception string using the supplied values.
public
static message([array<string|int, mixed> $values = [] ]) : string
Parameters
- $values : array<string|int, mixed> = []
-
Values to be injected into the message.
Return values
stringsetRequest()
public
setRequest(RequestInterface $request) : self
Parameters
- $request : RequestInterface
Return values
selfsetResponse()
public
setResponse(ResponseInterface $response) : self
Parameters
- $response : ResponseInterface