@launchdarkly/mcp-server
Version:
The local [Model Context Protocol (MCP)](https://modelcontextprotocol.io/) server for [LaunchDarkly](https://launchdarkly.com/) federal and European Union (EU) environments.
20 lines • 745 B
JavaScript
;
/*
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.LaunchDarklyError = void 0;
/** The base class for all HTTP error responses */
class LaunchDarklyError extends Error {
constructor(message, httpMeta) {
super(message);
this.statusCode = httpMeta.response.status;
this.body = httpMeta.body;
this.headers = httpMeta.response.headers;
this.contentType = httpMeta.response.headers.get("content-type") || "";
this.rawResponse = httpMeta.response;
this.name = "LaunchDarklyError";
}
}
exports.LaunchDarklyError = LaunchDarklyError;
//# sourceMappingURL=launchdarklyerror.js.map