PaginatorException
extends Exception
implements
Auth0Exception
-
codeCoverageIgnore
-
Interfaces, Classes, Traits and Enums
- Auth0Exception
- Represents all errors generated by SDK itself.
Table of Contents
-
MSG_HTTP_BAD_RESPONSE
= 'Unable to paginate request. Please ensure the endpoint you are using supports pagination, and that you are using the include_totals params.'
-
MSG_HTTP_CANNOT_COUNT_CHECKPOINT_PAGINATION
= 'Cannot receive counts when using checkpoint pagination.'
-
MSG_HTTP_ENDPOINT_DOES_NOT_SUPPORT_CHECKPOINT_PAGINATION
= 'The requested endpoint "%s" does not support checkpoint pagination.'
-
MSG_HTTP_METHOD_UNSUPPORTED
= 'This request type is not supported. You can only paginate GET requests.'
-
httpBadResponse()
: self
-
httpCheckpointCannotBeCounted()
: self
-
httpEndpointUnsupportedCheckpoints()
: self
-
httpMethodUnsupported()
: self
MSG_HTTP_BAD_RESPONSE
public
mixed
MSG_HTTP_BAD_RESPONSE
= 'Unable to paginate request. Please ensure the endpoint you are using supports pagination, and that you are using the include_totals params.'
public
mixed
MSG_HTTP_CANNOT_COUNT_CHECKPOINT_PAGINATION
= 'Cannot receive counts when using checkpoint pagination.'
public
mixed
MSG_HTTP_ENDPOINT_DOES_NOT_SUPPORT_CHECKPOINT_PAGINATION
= 'The requested endpoint "%s" does not support checkpoint pagination.'
MSG_HTTP_METHOD_UNSUPPORTED
public
mixed
MSG_HTTP_METHOD_UNSUPPORTED
= 'This request type is not supported. You can only paginate GET requests.'
httpBadResponse()
public
static httpBadResponse([Throwable|null $previous = null ]) : self
Parameters
-
$previous
: Throwable|null
= null
-
Return values
self
—
httpCheckpointCannotBeCounted()
public
static httpCheckpointCannotBeCounted([Throwable|null $previous = null ]) : self
Parameters
-
$previous
: Throwable|null
= null
-
Return values
self
—
httpEndpointUnsupportedCheckpoints()
public
static httpEndpointUnsupportedCheckpoints(string $endpoint[, Throwable|null $previous = null ]) : self
Parameters
-
$endpoint
: string
-
-
$previous
: Throwable|null
= null
-
Return values
self
—
httpMethodUnsupported()
public
static httpMethodUnsupported([Throwable|null $previous = null ]) : self
Parameters
-
$previous
: Throwable|null
= null
-
Return values
self
—