Auth0-PHP

PaginatorException extends Exception
in package
implements Auth0Exception

Tags
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

Constants

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.'

MSG_HTTP_CANNOT_COUNT_CHECKPOINT_PAGINATION

public mixed MSG_HTTP_CANNOT_COUNT_CHECKPOINT_PAGINATION = 'Cannot receive counts when using checkpoint pagination.'

MSG_HTTP_ENDPOINT_DOES_NOT_SUPPORT_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.'

Methods

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

Search results