Skip to main content

Module error

Module error 

Source
Expand description

Parse error codes.

Error codes are API. Every variant carries the upstream numeric code from src/Error.js, and spec/ asserts on these numbers directly. Never invent a code and never change one to a better-fitting one.

Codes extracted from the parse npm SDK bundled with parse-server 9.10.1-alpha.6, which is the same table src/Error.js re-exports.

Structs§

ParseError
A Parse error: a code plus a message, both wire-visible.

Enums§

ErrorCode
The upstream error code table. The discriminant is the wire value.