ArgumentException
extends Exception
in package
implements
Auth0Exception
FinalYes
Tags
Table of Contents
Interfaces
- Auth0Exception
- Represents all errors generated by SDK itself.
Constants
- MSG_BAD_PERMISSIONS_ARRAY : string = 'Invalid or empty permissions array passed. All...
- MSG_PKCE_CODE_VERIFIER_LENGTH : string = 'Code verifier must be created with a minimum l...
- MSG_UNKNOWN_METHOD : string = 'Unknown method %s.'
- MSG_VALUE_CANNOT_BE_EMPTY : string = 'A value for `%s` must be provided'
- MSG_VALUE_HAS_BEARER_PREFIX : string = 'A value for `%s` must not include a `Bearer` p...
- MSG_VALUE_IS_NOT_URI : string = 'A value for `%s` must be a valid URI'
Methods
- badPermissionsArray() : self
- codeVerifierLength() : self
- hasBearerPrefix() : self
- invalidUri() : self
- missing() : self
- unknownMethod() : self
Constants
MSG_BAD_PERMISSIONS_ARRAY
public
string
MSG_BAD_PERMISSIONS_ARRAY
= 'Invalid or empty permissions array passed. All permissions must include both permission_name and resource_server_identifier keys.'
MSG_PKCE_CODE_VERIFIER_LENGTH
public
string
MSG_PKCE_CODE_VERIFIER_LENGTH
= 'Code verifier must be created with a minimum length of 43 characters and a maximum length of 128 characters.'
MSG_UNKNOWN_METHOD
public
string
MSG_UNKNOWN_METHOD
= 'Unknown method %s.'
MSG_VALUE_CANNOT_BE_EMPTY
public
string
MSG_VALUE_CANNOT_BE_EMPTY
= 'A value for `%s` must be provided'
MSG_VALUE_HAS_BEARER_PREFIX
public
string
MSG_VALUE_HAS_BEARER_PREFIX
= 'A value for `%s` must not include a `Bearer` prefix'
MSG_VALUE_IS_NOT_URI
public
string
MSG_VALUE_IS_NOT_URI
= 'A value for `%s` must be a valid URI'
Methods
badPermissionsArray()
public
static badPermissionsArray([Throwable|null $previous = null ]) : self
Parameters
- $previous : Throwable|null = null
Return values
selfcodeVerifierLength()
public
static codeVerifierLength([Throwable|null $previous = null ]) : self
Parameters
- $previous : Throwable|null = null
Return values
selfhasBearerPrefix()
public
static hasBearerPrefix(string $parameterName[, Throwable|null $previous = null ]) : self
Parameters
- $parameterName : string
- $previous : Throwable|null = null
Return values
selfinvalidUri()
public
static invalidUri(string $parameterName[, Throwable|null $previous = null ]) : self
Parameters
- $parameterName : string
- $previous : Throwable|null = null
Return values
selfmissing()
public
static missing(string $parameterName[, Throwable|null $previous = null ]) : self
Parameters
- $parameterName : string
- $previous : Throwable|null = null
Return values
selfunknownMethod()
public
static unknownMethod(string $methodName[, Throwable|null $previous = null ]) : self
Parameters
- $methodName : string
- $previous : Throwable|null = null