mcp-chain-of-draft-server
Version:
A Model Context Protocol server which provides Chain of Draft style thinking
22 lines (21 loc) • 683 B
TypeScript
export declare class BaseError extends Error {
code: string;
status: number;
details?: any;
constructor(message: string, code: string, status: number, details?: any);
}
export declare class ValidationError extends BaseError {
constructor(message: string, details?: any);
}
export declare class EntityNotFoundError extends BaseError {
constructor(message: string);
}
export declare class DatabaseError extends BaseError {
constructor(message: string, details?: any);
}
export declare class UnauthorizedError extends BaseError {
constructor(message: string);
}
export declare class ForbiddenError extends BaseError {
constructor(message: string);
}