Optional
httpStatus: numberOptional
causeReadonly
codeA code for the error. Codes indicate the cause of the error. It is safe to write programmatic logic against the code. They are part of the API contract.
Optional
Readonly
constraint_A machine readable description of any constraint failures encountered by the query. Present only if this query encountered constraint failures.
Optional
Readonly
httpThe HTTP Status Code of the error.
Optional
Readonly
queryDetails about the query sent along with the response
Optional
stackOptional
Readonly
statsStatistics regarding the query.
TODO: Deprecate this stats
field. All ServiceError
s already provide
access to stats through queryInfo.stats
Static
Optional
prepareOptional override for formatting stack traces
Static
stack
A failure due to the query timeout being exceeded.
This error can have one of two sources: 1. Fauna is behaving expectedly, but the query timeout provided was too aggressive and lower than the query's expected processing time. 2. Fauna was not available to service the request before the timeout was reached.
In either case, consider increasing the
query_timeout_ms
configuration for your client.