Member Junction
    Preparing search index...

    Typed error thrown when a model call exceeds the prompt's configured AIPrompt.TimeoutMS.

    The message intentionally contains the word "timeout" so that ErrorAnalyzer classifies it as a NetworkError (severity Retriable, canFailover: true) — meaning a timed-out model call participates in the normal failover/retry machinery exactly like a hung socket would, instead of silently hanging.

    Callers that need to distinguish a configured-timeout abort from any other network failure can do so structurally via instanceof AIPromptTimeoutError (or by checking name, which survives a serialization round-trip).

    Hierarchy

    • Error
      • AIPromptTimeoutError
    Index

    Constructors

    Properties

    cause?: unknown
    message: string
    name: string
    PromptName: string

    Name of the prompt whose TimeoutMS was exceeded.

    stack?: string
    TimeoutMS: number

    The configured timeout, in milliseconds, that was exceeded.

    prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

    Optional override for formatting stack traces

    stackTraceLimit: number

    Methods

    • Create .stack property on a target object

      Parameters

      • targetObject: object
      • OptionalconstructorOpt: Function

      Returns void