Proksea/node_modules/@azure/msal-common/dist/error/ServerError.mjs
2024-07-05 00:09:37 +08:00

23 lines
658 B
JavaScript

/*! @azure/msal-common v14.12.0 2024-06-10 */
'use strict';
import { AuthError } from './AuthError.mjs';
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
/**
* Error thrown when there is an error with the server code, for example, unavailability.
*/
class ServerError extends AuthError {
constructor(errorCode, errorMessage, subError, errorNo) {
super(errorCode, errorMessage, subError);
this.name = "ServerError";
this.errorNo = errorNo;
Object.setPrototypeOf(this, ServerError.prototype);
}
}
export { ServerError };
//# sourceMappingURL=ServerError.mjs.map