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§
- Parse
Error - A Parse error: a code plus a message, plus how much of it may be seen.
- Parse
Error Info - Out-of-band data an error carries for the server’s own use.
Enums§
- Error
Code - The upstream error code table. The discriminant is the wire value.
- Error
Detail - Whether a denial tells the client why it was denied.
- Error
Origin - Which upstream throw an error corresponds to, and therefore which body a client sees.
Constants§
- DUPLICATE_
VALUE_ MESSAGE - The one message a duplicate-key collision ever carries (
MongoStorageAdapter.js:576-579). - PERMISSION_
DENIED createSanitizedError’s defaultsanitizedMessage(Error.js:13), and the whole ofcreateSanitizedHttpError’s (Error.js:41).