aimpress-chatbot/node_modules/botbuilder/lib/statusCodeError.js
“SamoilenkoVadym” 55445dbc86
Some checks failed
Build and deploy Node.js app to Azure Web App - ChatBot2222 / build (push) Has been cancelled
Build and deploy Node.js app to Azure Web App - ChatBot2222 / deploy (push) Has been cancelled
Deploy bot to Azure
2025-04-27 19:55:19 +01:00

28 lines
No EOL
792 B
JavaScript

"use strict";
/**
* @module botbuilder
*/
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.StatusCodeError = void 0;
/**
* Extends Error to provide specialized error messages.
*/
class StatusCodeError extends Error {
/**
* Creates a new instance of the [StatusCodeError](xref:botbuilder.StatusCodeError) class.
*
* @param statusCode The status code.
* @param message Optional. The error message.
*/
constructor(statusCode, message) {
super(message);
this.statusCode = statusCode;
this.name = 'StatusCodeError';
}
}
exports.StatusCodeError = StatusCodeError;
//# sourceMappingURL=statusCodeError.js.map