ReactAuthError class
- Extends
-
AuthError
Constructors
React |
Inherited Properties
correlation |
CorrelationId associated with the error |
error |
Short string denoting error |
error |
Detailed description of error |
message | |
name | |
stack | |
sub |
Describes the subclass of an error |
Methods
create |
|
create |
Inherited Methods
create |
Creates an error for post request failures. |
create |
Creates an error that is thrown when something unexpected happens in the library. |
set |
Constructor Details
ReactAuthError(string, string)
new ReactAuthError(errorCode: string, errorMessage?: string)
Parameters
- errorCode
-
string
- errorMessage
-
string
Inherited Property Details
correlationId
CorrelationId associated with the error
correlationId: string
Property Value
string
Inherited From AuthError.correlationId
errorCode
Short string denoting error
errorCode: string
Property Value
string
Inherited From AuthError.errorCode
errorMessage
Detailed description of error
errorMessage: string
Property Value
string
Inherited From AuthError.errorMessage
message
message: string
Property Value
string
Inherited From Error.message
name
name: string
Property Value
string
Inherited From Error.name
stack
stack?: string
Property Value
string
Inherited From Error.stack
subError
Describes the subclass of an error
subError: string
Property Value
string
Inherited From AuthError.subError
Method Details
createInvalidInteractionTypeError()
createUnableToFallbackToInteractionError()
Inherited Method Details
createPostRequestFailed(string)
Creates an error for post request failures.
static function createPostRequestFailed(errDesc: string): AuthError
Parameters
- errDesc
-
string
Returns
AuthError
Inherited From AuthError.createPostRequestFailed
createUnexpectedError(string)
Creates an error that is thrown when something unexpected happens in the library.
static function createUnexpectedError(errDesc: string): AuthError
Parameters
- errDesc
-
string
Returns
AuthError
Inherited From AuthError.createUnexpectedError
setCorrelationId(string)
function setCorrelationId(correlationId: string)
Parameters
- correlationId
-
string
Inherited From AuthError.setCorrelationId