Sanity Library Reference Docs
    Preparing search index...

    Class ConnectionFailedError

    Thrown if the EventSource connection could not be established. Note that ConnectionFailedErrors are rare, and disconnects will normally be handled by the EventSource instance itself and emitted as reconnect events.

    Hierarchy

    • Error
      • ConnectionFailedError
    Index

    Constructors

    Properties

    Constructors

    • Parameters

      • Optionalmessage: string

      Returns ConnectionFailedError

    • Parameters

      • Optionalmessage: string
      • Optionaloptions: ErrorOptions

      Returns ConnectionFailedError

    Properties

    name: "ConnectionFailedError" = 'ConnectionFailedError'