European Parliament MCP Server API - v1.0.1
    Preparing search index...

    Class TimeoutError

    Timeout error thrown when an operation exceeds its time limit

    if (Date.now() - startTime > timeout) {
    throw new TimeoutError('Operation timed out after 10s');
    }

    Hierarchy

    Index

    Constructors

    Properties

    Constructors

    • Create a new timeout error

      Parameters

      • message: string

        Description of the timeout

      • OptionaltimeoutMs: number

        The timeout duration in milliseconds

      Returns TimeoutError

    Properties

    timeoutMs?: number

    The timeout duration in milliseconds