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

    name: "ConnectionFailedError" = 'ConnectionFailedError'
    prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

    Optional override for formatting stack traces

    stackTraceLimit: number
    cause?: unknown
    message: string
    stack?: string

    Methods

    • Create .stack property on a target object

      Parameters

      • targetObject: object
      • OptionalconstructorOpt: Function

      Returns void