@microsoft/kiota-abstractions
Version:
Core abstractions for kiota generated libraries in TypeScript and JavaScript
14 lines • 615 B
JavaScript
/**
* -------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License.
* See License in the project root for license information.
* -------------------------------------------------------------------------------------------
*/
/** Default error type used when no error mapping is registered for the status code */
export class DefaultApiError extends Error {
constructor(message) {
super(message);
this.responseHeaders = {};
}
}
//# sourceMappingURL=apiError.js.map