UNPKG

@siva-sub/mcp-public-transport

Version:

A Model Context Protocol server for Singapore transport data with real-time information and routing

16 lines (15 loc) 607 B
export declare class TransportError extends Error { code: string; statusCode: number; originalError?: Error | undefined; constructor(message: string, code: string, statusCode?: number, originalError?: Error | undefined); } export declare class ValidationError extends TransportError { constructor(message: string, originalError?: Error); } export declare class APIError extends TransportError { constructor(message: string, code: string, statusCode?: number, originalError?: Error); } export declare class RateLimitError extends TransportError { constructor(message?: string); }