Public declaration syntax from forge-ts/packages/forge-comm/src/error.ts Original source SHA-256: bd33ef247042b3128578bcf2f8c27561a12caeec5bf5a924ca24cdb80ea08126 Function bodies and constant values are omitted. This is not the complete implementation. Source line 18 export const CommErrorCode /* type inferred in source */; Source line 40 export type CommErrorCodeType = (typeof CommErrorCode)[keyof typeof CommErrorCode]; Source line 55 export class CommError extends Error { readonly code: CommErrorCodeType; static serializationFailed(reason: string): CommError; static deserializationFailed(reason: string): CommError; static transportFailed(reason: string): CommError; static notConnected(): CommError; static channelClosed(): CommError; static signatureInvalid(sender: string): CommError; static protocolNegotiationFailed(offered: string, reason: string): CommError; static messageTooLarge(size: number, maxSize: number): CommError; static timeout(durationMs: number): CommError; }