[]
Error codes of ot errors.
• ERR_APPLY_OP_VERSION_DOES_NOT_MATCH_SNAPSHOT = 23
• ERR_APPLY_SNAPSHOT_NOT_PROVIDED = 26
• ERR_CONNECTION_SEQ_INTEGER_OVERFLOW = 14
• ERR_DOC_ALREADY_CREATED = 0
• ERR_DOC_DOES_NOT_EXIST = 1
• ERR_DOC_MISSING_VERSION = 18
• ERR_DOC_TYPE_NOT_RECOGNIZED = 2
• ERR_DOC_WAS_DELETED = 3
• ERR_HARD_ROLLBACK_FETCH_FAILED = 8
• ERR_HISTORY_SNAPSHOT_NOT_FOUND = 16
• ERR_INGESTED_SNAPSHOT_HAS_NO_VERSION = 25
• ERR_MAX_SUBMIT_RETRIES_EXCEEDED = 4
• ERR_MAX_SUBMIT_SNAPSHOT_RETRIES_EXCEEDED = 5
• ERR_MESSAGE_BADLY_FORMED = 6
• ERR_MILESTONE_ARGUMENT_INVALID = 21
• ERR_OP_ALREADY_SUBMITTED = 7
• ERR_OP_SUBMIT_REJECTED = 19
• ERR_OP_VERSION_MISMATCH_AFTER_TRANSFORM = 27
• ERR_OP_VERSION_MISMATCH_DURING_TRANSFORM = 24
• ERR_OP_VERSION_NEWER_THAN_CURRENT_SNAPSHOT = 17
• ERR_OT_OP_BADLY_FORMED = 15
• ERR_OT_OP_NOT_APPLIED = 9
• ERR_OT_OP_NOT_PROVIDED = 22
• ERR_OT_OP_TRANSFORM_FAILED = 10
• ERR_PENDING_OP_REMOVED_BY_OP_SUBMIT_REJECTED = 20
• ERR_SNAPSHOT_READS_REJECTED = 11
A "readSnapshots" middleware rejected the reads of specific snapshots.
This error code is mostly for server use and generally will not be encountered on the client. Instead, each specific doc that encountered an error will receive its specific error.
The one exception is for queries, where a "readSnapshots" rejection of specific snapshots will cause the client to receive this error for the whole query, since queries don't support doc-specific errors.
• ERR_SNAPSHOT_READ_SILENT_REJECTION = 12
A special error that a "readSnapshots" middleware implementation can use to indicate that it wishes for the client to treat it as a silent rejection, not passing the error back to user code.
For subscribes, the client will still cancel the document subscription.
• ERR_SUBMIT_TRANSFORM_OPS_NOT_FOUND = 13
• ERR_UNKNOWN_ERROR = 1000