deepsource-mcp-server
Version:
Model Context Protocol server for DeepSource
35 lines • 1.25 kB
JavaScript
/**
* @fileoverview Error categories for the DeepSource MCP Server
* This module defines the possible error categories for classification.
*/
/* eslint-disable no-unused-vars */
/**
* Possible error categories for API errors
* @enum {string}
* @public
*/
export var ErrorCategory;
(function (ErrorCategory) {
/** Error related to authentication or authorization */
ErrorCategory["AUTH"] = "AUTH";
/** Error with network connectivity */
ErrorCategory["NETWORK"] = "NETWORK";
/** Error with server processing */
ErrorCategory["SERVER"] = "SERVER";
/** Error with client input */
ErrorCategory["CLIENT"] = "CLIENT";
/** Error with request timing out */
ErrorCategory["TIMEOUT"] = "TIMEOUT";
/** Error with rate limiting */
ErrorCategory["RATE_LIMIT"] = "RATE_LIMIT";
/** Error with the GraphQL schema */
ErrorCategory["SCHEMA"] = "SCHEMA";
/** Error with data not found */
ErrorCategory["NOT_FOUND"] = "NOT_FOUND";
/** Error with data formatting */
ErrorCategory["FORMAT"] = "FORMAT";
/** Other uncategorized errors */
ErrorCategory["OTHER"] = "OTHER";
})(ErrorCategory || (ErrorCategory = {}));
/* eslint-enable no-unused-vars */
//# sourceMappingURL=categories.js.map