Sanity Library Reference Docs
    Preparing search index...

    Class MessageError

    The server sent an error-event to tell the client that an unexpected error has happened.

    Hierarchy

    • Error
      • MessageError
    Index

    Constructors

    Properties

    Constructors

    • Parameters

      • message: string
      • data: unknown
      • options: ErrorOptions = {}

      Returns MessageError

    Properties

    data?: unknown
    name: "MessageError" = 'MessageError'