Documentation
    Preparing search index...

    Class PajaRelayUnreachableError

    Thrown when pointer resolution could not open a single relay connection.

    Zero connections means the manifest was never asked for — the browser is offline, the relays are blocked, or the browser reached its WebSocket connection limit (for example many tabs each holding relay sockets). Hosts surface this distinctly from a slow relay or a missing manifest.

    try {
    await resolvePajaPointer(pointer);
    } catch (error) {
    if (error instanceof PajaRelayUnreachableError) showRelayBanner(error.connections);
    }

    Hierarchy

    • Error
      • PajaRelayUnreachableError
    Index

    Constructors

    Properties

    cause?: unknown
    code: "relay-unreachable" = ...

    Stable discriminator for hosts that cannot rely on instanceof across bundles.

    What the resolver observed per relay.

    message: string
    name: string
    stack?: string