UNPKG

tensaikit

Version:

An autonomous DeFi AI Agent Kit on Katana enabling AI agents to plan and execute on-chain financial operations.

10 lines (9 loc) 335 B
/** * Custom error handler for the application */ export declare class CustomError extends Error { code: string; constructor(message: string, code: string); } export declare const handleError: (message: string, error: unknown) => CustomError; export declare const createError: (message: string, code: string) => CustomError;