UNPKG

ai-functions

Version:

Core AI primitives for building intelligent applications

22 lines 731 B
/** * Error classes for AI primitives */ /** * Error thrown when a function is not yet implemented. * * This is used to clearly indicate at runtime that a function exists * in the API but does not have a working implementation yet. * * @example * ```ts * throw new NotImplementedError('human', 'Human-in-the-loop functions require channel integrations') * ``` */ export declare class NotImplementedError extends Error { /** The name of the function that is not implemented */ readonly functionName: string; /** Additional details about why it's not implemented or what's needed */ readonly details?: string; constructor(functionName: string, details?: string); } //# sourceMappingURL=errors.d.ts.map