MongoDB · Types · Errors

ArxErrorCategory

Definition

Namespace
ARX.SDK
Package
ARX.SDK
C#
public enum ArxErrorCategory

The category of an ArxErrorCode, given by its thousands digit.

Values

Validation= 1

ARX refused the call before sending it: invalid input, a misused connection, transaction or batch scope, or a name that looks like SQL injection.

NotFound= 2

The rows the call addressed weren't found as asked: none, several where one was required, or one at another version than the call carried (ARX2004). Nothing was changed.

Constraint= 3

The database refused the change because of a rule: a unique key, a foreign key, NOT NULL, CHECK, or a routine's own error.

Data= 4

A value doesn't fit its column: out of range, too long, in the wrong format or of the wrong type.

Schema= 5

A table or column doesn't exist, or a declaration in the schema catalog doesn't match the table.

Permission= 6

The database user isn't allowed to do it.

Transient= 7

A temporary failure: a deadlock, a conflict, a timeout, throttling or a lost connection. Safe to retry the whole operation (IsTransient is true).

NotSupported= 8

The provider can't do what was asked, and refuses it rather than ignoring part of it.

Provider= 9

A database error ARX doesn't map; the exception keeps its native code and SQLSTATE.