Expand description
Nautilus protocol errors with stable error codes.
Error code ranges:
1000..1999: Schema / Validation errors2000..2999: Query planning / rendering errors3000..3999: Database execution errors9000..9999: Internal engine errors
Standard JSON-RPC errors (negative codes) are reserved for protocol-level issues.
Structs§
- Batch
Operation Error Data - Structured
error.datapayload emitted whentransaction.batchfails. - Protocol
Error Cause - The original error returned by a failed protocol operation.
Enums§
- Protocol
Error - Nautilus protocol error.
Constants§
- ERR_
CHECK_ CONSTRAINT - ERR_
CONNECTION_ FAILED - ERR_
CONSTRAINT_ VIOLATION - ERR_
DATABASE_ EXECUTION - ERR_
DEADLOCK - ERR_
FOREIGN_ KEY_ CONSTRAINT - ERR_
INTERNAL - ERR_
INVALID_ FIELD - ERR_
INVALID_ FILTER - ERR_
INVALID_ METHOD - ERR_
INVALID_ MODEL - ERR_
INVALID_ ORDERBY - ERR_
INVALID_ REQUEST_ PARAMS - ERR_
NULL_ CONSTRAINT - ERR_
QUERY_ PLANNING - ERR_
QUERY_ TIMEOUT - ERR_
RECORD_ NOT_ FOUND - ERR_
SCHEMA_ VALIDATION - ERR_
SERIALIZATION_ FAILURE - ERR_
TRANSACTION_ ALREADY_ CLOSED - ERR_
TRANSACTION_ FAILED - ERR_
TRANSACTION_ NOT_ FOUND - ERR_
TRANSACTION_ TIMEOUT - ERR_
TYPE_ MISMATCH - ERR_
UNIQUE_ CONSTRAINT - ERR_
UNSUPPORTED_ OPERATION - ERR_
UNSUPPORTED_ PROTOCOL_ VERSION
Type Aliases§
- Result
- Result type alias for protocol operations.