UNPKG

@autobe/agent

Version:

AI backend server code generator

24 lines (23 loc) 860 B
/** * Custom error indicating LLM conversation exceeded configured timeout limit. * * Used by `TimedConversation` to wrap conversation operations with timeout * enforcement. When LLM response takes too long, this error is thrown to * distinguish timeout failures from other error types. * * The distinction is critical for retry logic: timeout errors are NOT retried * (immediate failure) while other errors can be retried. This prevents wasting * resources on conversations that are fundamentally too slow. * * @author Samchon */ export declare class AutoBeTimeoutError extends Error { /** * Creates timeout error with descriptive message. * * @param message Error description including timeout duration */ constructor(message: string); /** Returns error class name for identification. */ get name(): string; }