deepsource-mcp-server
Version:
Model Context Protocol server for DeepSource
18 lines • 516 B
JavaScript
/**
* @fileoverview Error types for the DeepSource MCP Server
* This module defines error types and interfaces.
*/
/**
* Check if an error is a classified error
* @param error The error to check
* @returns True if the error is a classified error
* @public
*/
export function isClassifiedError(error) {
return Boolean(error &&
typeof error === 'object' &&
'message' in error &&
'category' in error &&
typeof error.category === 'string');
}
//# sourceMappingURL=types.js.map