AuthError class
General error class thrown by the MSAL.js library.
- Extends
-
Error
Constructors
Auth |
Properties
Error | |
error |
|
error |
Inherited Properties
message | |
name | |
stack |
Methods
create |
|
create |
Constructor Details
AuthError(string, string)
new AuthError(errorCode: string, errorMessage?: string)
Parameters
- errorCode
-
string
- errorMessage
-
string
Property Details
Error
static Error: ErrorConstructor
Property Value
ErrorConstructor
errorCode
errorCode: string
Property Value
string
errorMessage
errorMessage: string
Property Value
string
Inherited Property Details
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
Method Details
createNoWindowObjectError(string)
static function createNoWindowObjectError(errDesc: string): AuthError
Parameters
- errDesc
-
string
Returns
createUnexpectedError(string)
static function createUnexpectedError(errDesc: string): AuthError
Parameters
- errDesc
-
string