ReactAuthError class
- Extends
-
AuthError
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 |
create |
Creates an error for post request failures. |
create |
Creates an error that is thrown when something unexpected happens in the library. |
set |
new ReactAuthError(errorCode: string, errorMessage?: string)
Parameters
- errorCode
-
string
- errorMessage
-
string
CorrelationId associated with the error
correlationId: string
Property Value
string
Inherited From AuthError.correlationId
Short string denoting error
errorCode: string
Property Value
string
Inherited From AuthError.errorCode
Detailed description of error
errorMessage: string
Property Value
string
Inherited From AuthError.errorMessage
message: string
Property Value
string
Inherited From Error.message
name: string
Property Value
string
Inherited From Error.name
stack?: string
Property Value
string
Inherited From Error.stack
Describes the subclass of an error
subError: string
Property Value
string
Inherited From AuthError.subError
Creates an error for post request failures.
static function createPostRequestFailed(errDesc: string): AuthError
Parameters
- errDesc
-
string
Returns
AuthError
Inherited From AuthError.createPostRequestFailed
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
function setCorrelationId(correlationId: string)
Parameters
- correlationId
-
string
Inherited From AuthError.setCorrelationId