mcp-decisive
Version:
MCP server for WRAP decision-making framework with structured output
16 lines • 838 B
JavaScript
// ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
// Error Constructors - Smart constructors for error creation
// ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
export const ReadError = {
fileSystemError: (message, originalError) => ({
type: 'FileSystemError',
message,
originalError
}),
dataCorruption: (message, details) => ({
type: 'DataCorruption',
message,
details
})
};
//# sourceMappingURL=types.js.map