UNPKG

@promptbook/remote-server

Version:

Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action

14 lines (13 loc) 609 B
/** * This error occurs when some expectation is not met in the execution of the pipeline * * Note: Do not throw this error, its reserved for `checkExpectations` and `createPipelineExecutor` and public ONLY to be serializable through remote server * Note: Always thrown in `checkExpectations` and catched in `createPipelineExecutor` and rethrown as `PipelineExecutionError` * Note: This is a kindof subtype of PipelineExecutionError * * @public exported from `@promptbook/core` */ export declare class ExpectError extends Error { readonly name = "ExpectError"; constructor(message: string); }