33 lines
897 B
TypeScript
33 lines
897 B
TypeScript
/**
|
|
* AuthErrorMessage class containing string constants used by error codes and messages.
|
|
*/
|
|
export declare const AuthErrorMessage: {
|
|
unexpectedError: {
|
|
code: string;
|
|
desc: string;
|
|
};
|
|
};
|
|
/**
|
|
* General error class thrown by the MSAL.js library.
|
|
*/
|
|
export declare class AuthError extends Error {
|
|
/**
|
|
* Short string denoting error
|
|
*/
|
|
errorCode: string;
|
|
/**
|
|
* Detailed description of error
|
|
*/
|
|
errorMessage: string;
|
|
/**
|
|
* Describes the subclass of an error
|
|
*/
|
|
subError: string;
|
|
constructor(errorCode?: string, errorMessage?: string, suberror?: string);
|
|
/**
|
|
* Creates an error that is thrown when something unexpected happens in the library.
|
|
* @param errDesc
|
|
*/
|
|
static createUnexpectedError(errDesc: string): AuthError;
|
|
}
|
|
//# sourceMappingURL=AuthError.d.ts.map
|