@azure/msal-browser
Version:
Microsoft Authentication Library for js
23 lines (21 loc) • 775 B
JavaScript
/*! @azure/msal-browser v5.11.0 2026-05-19 */
;
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
class CustomAuthError extends Error {
constructor(error, errorDescription, correlationId, errorCodes, subError) {
super(`${error}: ${errorDescription ?? ""}`);
this.error = error;
this.errorDescription = errorDescription;
this.correlationId = correlationId;
this.errorCodes = errorCodes;
this.subError = subError;
Object.setPrototypeOf(this, CustomAuthError.prototype);
this.errorCodes = errorCodes ?? [];
this.subError = subError ?? "";
}
}
export { CustomAuthError };
//# sourceMappingURL=CustomAuthError.mjs.map