Cotal TypeScript packages
    Preparing search index...

    Function userViewAuthOrThrow

    • userViewAuth with the provider's own failure classified, as userConnectOrThrow classifies the bearer's. A refused, signed-out or unanswered exchange happens before any request, so it is a ConnectRefusal under its code, not an unclassified error that a structured command must report as unknown. Only signed-out is permanent. cotal attach mints this view again on every reconnect, an exchange that did not answer may answer the next time, and the provider reports every answered failure as refused, including a manager that is not live yet and a registry read that failed. Any other error rethrows unchanged.

      Parameters

      • conn: Connection
      • view: string
      • opts:
            | {
                managerInstanceId?: string;
                transferWriter?: { hex: string; instanceId: string };
            }
            | undefined = {}

      Returns Promise<UserViewAuth>