@dxos/react-client
    Preparing search index...

    Class RemoteServiceConnectionTimeout

    Failed to open a connection to remote client services.

    Hierarchy

    • RemoteServiceConnectionTimeout_base
      • RemoteServiceConnectionTimeout
    Index

    Constructors

    • Parameters

      • Optionaloptions: BaseErrorOptions

      Returns RemoteServiceConnectionTimeout

    Properties

    _tag: "REMOTE_SERVICE_CONNECTION_TIMEOUT"
    cause?: unknown
    code: "REMOTE_SERVICE_CONNECTION_TIMEOUT"
    context: Record<string, unknown>
    message: string
    name: "REMOTE_SERVICE_CONNECTION_TIMEOUT"
    stack?: string
    code: "REMOTE_SERVICE_CONNECTION_TIMEOUT"
    prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any
    stackTraceLimit: number

    Methods

    • Parameters

      • targetObject: object
      • OptionalconstructorOpt: Function

      Returns void

    • Type Parameters

      • Code extends string = string

      Parameters

      • code: Code
      • Optionalmessage: string

      Returns any

    • Parameters

      • error: unknown

      Returns error is BaseError<string>

    • Parameters

      • error: unknown

      Returns error is Error

    • Parameters

      • Optionaloptions: Omit<BaseErrorOptions, "cause"> & { ifTypeDiffers?: boolean }

      Returns (
          error: unknown,
      ) => {
          _tag: "REMOTE_SERVICE_CONNECTION_TIMEOUT";
          cause?: unknown;
          code: "REMOTE_SERVICE_CONNECTION_TIMEOUT";
          context: Record<string, unknown>;
          message: string;
          name: "REMOTE_SERVICE_CONNECTION_TIMEOUT";
          stack?: string;
      }