/** * Sequence0 SDK Error Classes */ export declare class Sequence0Error extends Error { code?: string | undefined; constructor(message: string, code?: string | undefined); } export declare class NetworkError extends Sequence0Error { statusCode?: number | undefined; constructor(message: string, statusCode?: number | undefined); } export declare class DkgError extends Sequence0Error { constructor(message: string); } export declare class SigningError extends Sequence0Error { requestId?: string | undefined; constructor(message: string, requestId?: string | undefined); } export declare class TimeoutError extends Sequence0Error { constructor(message: string); } export declare class ChainError extends Sequence0Error { chain?: string | undefined; constructor(message: string, chain?: string | undefined); } /** * Thrown when an agent response fails schema validation. * Indicates the agent returned malformed or unexpected data. */ export declare class InvalidResponseError extends Sequence0Error { /** The endpoint that returned the invalid response */ endpoint?: string | undefined; /** The specific field that failed validation */ field?: string | undefined; constructor(message: string, /** The endpoint that returned the invalid response */ endpoint?: string | undefined, /** The specific field that failed validation */ field?: string | undefined); } /** * Thrown when user-provided input fails validation before * being sent to the agent network. */ export declare class ValidationError extends Sequence0Error { /** The parameter name that failed validation */ param?: string | undefined; constructor(message: string, /** The parameter name that failed validation */ param?: string | undefined); } //# sourceMappingURL=errors.d.ts.map