Public declaration syntax from forge-ts/packages/forge-mcp/src/error.ts Original source SHA-256: 4b323915c9e1b11ef3d19635ac122dfe1bf36bb396ea3f91bcbd05f4f53ff559 Function bodies and constant values are omitted. This is not the complete implementation. Source line 13 export const ForgeMcpErrorCode /* type inferred in source */; Source line 24 export type ForgeMcpErrorCodeType = (typeof ForgeMcpErrorCode)[keyof typeof ForgeMcpErrorCode]; Source line 43 export class ForgeMcpError extends Error { public readonly code: ForgeMcpErrorCodeType; static connectionFailed(url: string, reason: string): ForgeMcpError; static transportError(transport: string, reason: string): ForgeMcpError; static protocolError(reason: string): ForgeMcpError; static toolNotFound(toolName: string): ForgeMcpError; static serializationError(reason: string): ForgeMcpError; static authError(reason: string): ForgeMcpError; static core(reason: string): ForgeMcpError; }