Sanity Library Reference Docs
    Preparing search index...

    An error occurred while parsing the message sent by the server as JSON. Should normally not happen.

    Hierarchy

    • Error
      • MessageParseError
    Index

    Constructors

    • Parameters

      • Optionalmessage: string

      Returns MessageParseError

    • Parameters

      Returns MessageParseError

    Properties

    name: "MessageParseError" = 'MessageParseError'
    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