Back to Apollo Client

ServerParseError

docs/source/api/errors/ServerParseError.mdx

3.14.1953 B
Original Source

<DocBlock canonicalReference="@apollo/client!ServerParseError:class" customOrder={["summary", "remarks", "example"]} />

Static methods

<FunctionDetails canonicalReference="@apollo/client!ServerParseError.is:member(1)" headingLevel={3} parameters={false} result={false} />

See the instance properties for more details about the available properties provided by the ServerParseError object.

Instance properties

These properties are specific to the ServerParseError object. Standard error instance properties are also available.

<Tip> Use the `cause` property to access the original parse error thrown by `JSON.parse()`. </Tip>

<PropertySignatureTable canonicalReference="@apollo/client!ServerParseError.DocumentationTypes.InstanceProperties:interface" idPrefix="instanceproperties" />