ArgumentException
extends Exception
implements
Auth0Exception
-
codeCoverageIgnore
-
Interfaces, Classes, Traits and Enums
- Auth0Exception
- Represents all errors generated by SDK itself.
Table of Contents
-
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
= 'Code verifier must be created with a minimum length of 43 characters and a maximum length of 128 characters.'
-
MSG_UNKNOWN_METHOD
= 'Unknown method %s.'
-
MSG_VALUE_CANNOT_BE_EMPTY
= 'A value for `%s` must be provided'
-
badPermissionsArray()
: self
-
codeVerifierLength()
: self
-
missing()
: self
-
unknownMethod()
: self
MSG_BAD_PERMISSIONS_ARRAY
public
mixed
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
mixed
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
mixed
MSG_UNKNOWN_METHOD
= 'Unknown method %s.'
MSG_VALUE_CANNOT_BE_EMPTY
public
mixed
MSG_VALUE_CANNOT_BE_EMPTY
= 'A value for `%s` must be provided'
badPermissionsArray()
public
static badPermissionsArray([Throwable|null $previous = null ]) : self
Parameters
-
$previous
: Throwable|null
= null
-
Return values
self
—
codeVerifierLength()
public
static codeVerifierLength([Throwable|null $previous = null ]) : self
Parameters
-
$previous
: Throwable|null
= null
-
Return values
self
—
missing()
public
static missing(string $parameterName[, Throwable|null $previous = null ]) : self
Parameters
-
$parameterName
: string
-
-
$previous
: Throwable|null
= null
-
Return values
self
—
unknownMethod()
public
static unknownMethod(string $methodName[, Throwable|null $previous = null ]) : self
Parameters
-
$methodName
: string
-
-
$previous
: Throwable|null
= null
-
Return values
self
—