#[repr(u32)]pub enum TarantoolErrorCode {
Show 202 variants
Unknown = 0,
IllegalParams = 1,
MemoryIssue = 2,
TupleFound = 3,
TupleNotFound = 4,
Unsupported = 5,
NonMaster = 6,
Readonly = 7,
Injection = 8,
CreateSpace = 9,
SpaceExists = 10,
DropSpace = 11,
AlterSpace = 12,
IndexType = 13,
ModifyIndex = 14,
LastDrop = 15,
TupleFormatLimit = 16,
DropPrimaryKey = 17,
KeyPartType = 18,
ExactMatch = 19,
InvalidMsgpack = 20,
ProcRet = 21,
TupleNotArray = 22,
FieldType = 23,
IndexPartTypeMismatch = 24,
Splice = 25,
UpdateArgType = 26,
FormatMismatchIndexPart = 27,
UnknownUpdateOp = 28,
UpdateField = 29,
FunctionTxActive = 30,
KeyPartCount = 31,
ProcLua = 32,
NoSuchProc = 33,
NoSuchTrigger = 34,
NoSuchIndexID = 35,
NoSuchSpace = 36,
NoSuchFieldNo = 37,
ExactFieldCount = 38,
FieldMissing = 39,
WalIo = 40,
MoreThanOneTuple = 41,
AccessDenied = 42,
CreateUser = 43,
DropUser = 44,
NoSuchUser = 45,
UserExists = 46,
PasswordMismatch = 47,
UnknownRequestType = 48,
UnknownSchemaObject = 49,
CreateFunction = 50,
NoSuchFunction = 51,
FunctionExists = 52,
BeforeReplaceRet = 53,
MultistatementTransaction = 54,
TriggerExists = 55,
UserMax = 56,
NoSuchEngine = 57,
ReloadCfg = 58,
Cfg = 59,
SavepointEmptyTx = 60,
NoSuchSavepoint = 61,
UnknownReplica = 62,
ReplicasetUuidMismatch = 63,
InvalidUuid = 64,
ReplicasetUuidIsRo = 65,
InstanceUuidMismatch = 66,
ReplicaIDIsReserved = 67,
InvalidOrder = 68,
MissingRequestField = 69,
Identifier = 70,
DropFunction = 71,
IteratorType = 72,
ReplicaMax = 73,
InvalidXlog = 74,
InvalidXlogName = 75,
InvalidXlogOrder = 76,
NoConnection = 77,
Timeout = 78,
ActiveTransaction = 79,
CursorNoTransaction = 80,
CrossEngineTransaction = 81,
NoSuchRole = 82,
RoleExists = 83,
CreateRole = 84,
IndexExists = 85,
SessionClosed = 86,
RoleLoop = 87,
Grant = 88,
PrivGranted = 89,
RoleGranted = 90,
PrivNotGranted = 91,
RoleNotGranted = 92,
MissingSnapshot = 93,
CantUpdatePrimaryKey = 94,
UpdateIntegerOverflow = 95,
GuestUserPassword = 96,
TransactionConflict = 97,
UnsupportedPriv = 98,
LoadFunction = 99,
FunctionLanguage = 100,
RtreeRect = 101,
ProcC = 102,
UnknownRtreeIndexDistanceType = 103,
Protocol = 104,
UpsertUniqueSecondaryKey = 105,
WrongIndexRecord = 106,
WrongIndexParts = 107,
WrongIndexOptions = 108,
WrongSchemaVersion = 109,
MemtxMaxTupleSize = 110,
WrongSpaceOptions = 111,
UnsupportedIndexFeature = 112,
ViewIsRo = 113,
NoTransaction = 114,
System = 115,
Loading = 116,
ConnectionToSelf = 117,
KeyPartIsTooLong = 118,
Compression = 119,
CheckpointInProgress = 120,
SubStmtMax = 121,
CommitInSubStmt = 122,
RollbackInSubStmt = 123,
Decompression = 124,
InvalidXlogType = 125,
AlreadyRunning = 126,
IndexFieldCountLimit = 127,
LocalInstanceIDIsReadOnly = 128,
BackupInProgress = 129,
ReadViewAborted = 130,
InvalidIndexFile = 131,
InvalidRunFile = 132,
InvalidVylogFile = 133,
CheckpointRollback = 134,
VyQuotaTimeout = 135,
PartialKey = 136,
TruncateSystemSpace = 137,
LoadModule = 138,
VinylMaxTupleSize = 139,
WrongDdVersion = 140,
WrongSpaceFormat = 141,
CreateSequence = 142,
AlterSequence = 143,
DropSequence = 144,
NoSuchSequence = 145,
SequenceExists = 146,
SequenceOverflow = 147,
NoSuchIndexName = 148,
SpaceFieldIsDuplicate = 149,
CantCreateCollation = 150,
WrongCollationOptions = 151,
NullablePrimary = 152,
NoSuchFieldName = 153,
TransactionYield = 154,
NoSuchGroup = 155,
SqlBindValue = 156,
SqlBindType = 157,
SqlBindParameterMax = 158,
SqlExecute = 159,
Unused = 160,
SqlBindNotFound = 161,
ActionMismatch = 162,
ViewMissingSql = 163,
ForeignKeyConstraint = 164,
NoSuchModule = 165,
NoSuchCollation = 166,
CreateFkConstraint = 167,
DropFkConstraint = 168,
NoSuchConstraint = 169,
ConstraintExists = 170,
SqlTypeMismatch = 171,
RowidOverflow = 172,
DropCollation = 173,
IllegalCollationMix = 174,
SqlNoSuchPragma = 175,
SqlCantResolveField = 176,
IndexExistsInSpace = 177,
InconsistentTypes = 178,
SqlSyntax = 179,
SqlStackOverflow = 180,
SqlSelectWildcard = 181,
SqlStatementEmpty = 182,
SqlKeywordIsReserved = 183,
SqlUnrecognizedSyntax = 184,
SqlUnknownToken = 185,
SqlParserGeneric = 186,
SqlAnalyzeArgument = 187,
SqlColumnCountMax = 188,
HexLiteralMax = 189,
IntLiteralMax = 190,
SqlParserLimit = 191,
IndexDefUnsupported = 192,
CkDefUnsupported = 193,
MultikeyIndexMismatch = 194,
CreateCkConstraint = 195,
CkConstraintFailed = 196,
SqlColumnCount = 197,
FuncIndexFunc = 198,
FuncIndexFormat = 199,
FuncIndexParts = 200,
BootstrapReadonly = 201,
}
Expand description
Codes of Tarantool errors
Variants§
Unknown = 0
IllegalParams = 1
MemoryIssue = 2
TupleFound = 3
TupleNotFound = 4
Unsupported = 5
NonMaster = 6
Readonly = 7
Injection = 8
CreateSpace = 9
SpaceExists = 10
DropSpace = 11
AlterSpace = 12
IndexType = 13
ModifyIndex = 14
LastDrop = 15
TupleFormatLimit = 16
DropPrimaryKey = 17
KeyPartType = 18
ExactMatch = 19
InvalidMsgpack = 20
ProcRet = 21
TupleNotArray = 22
FieldType = 23
IndexPartTypeMismatch = 24
Splice = 25
UpdateArgType = 26
FormatMismatchIndexPart = 27
UnknownUpdateOp = 28
UpdateField = 29
FunctionTxActive = 30
KeyPartCount = 31
ProcLua = 32
NoSuchProc = 33
NoSuchTrigger = 34
NoSuchIndexID = 35
NoSuchSpace = 36
NoSuchFieldNo = 37
ExactFieldCount = 38
FieldMissing = 39
WalIo = 40
MoreThanOneTuple = 41
AccessDenied = 42
CreateUser = 43
DropUser = 44
NoSuchUser = 45
UserExists = 46
PasswordMismatch = 47
UnknownRequestType = 48
UnknownSchemaObject = 49
CreateFunction = 50
NoSuchFunction = 51
FunctionExists = 52
BeforeReplaceRet = 53
MultistatementTransaction = 54
TriggerExists = 55
UserMax = 56
NoSuchEngine = 57
ReloadCfg = 58
Cfg = 59
SavepointEmptyTx = 60
NoSuchSavepoint = 61
UnknownReplica = 62
ReplicasetUuidMismatch = 63
InvalidUuid = 64
ReplicasetUuidIsRo = 65
InstanceUuidMismatch = 66
ReplicaIDIsReserved = 67
InvalidOrder = 68
MissingRequestField = 69
Identifier = 70
DropFunction = 71
IteratorType = 72
ReplicaMax = 73
InvalidXlog = 74
InvalidXlogName = 75
InvalidXlogOrder = 76
NoConnection = 77
Timeout = 78
ActiveTransaction = 79
CursorNoTransaction = 80
CrossEngineTransaction = 81
NoSuchRole = 82
RoleExists = 83
CreateRole = 84
IndexExists = 85
SessionClosed = 86
RoleLoop = 87
Grant = 88
PrivGranted = 89
RoleGranted = 90
PrivNotGranted = 91
RoleNotGranted = 92
MissingSnapshot = 93
CantUpdatePrimaryKey = 94
UpdateIntegerOverflow = 95
GuestUserPassword = 96
TransactionConflict = 97
UnsupportedPriv = 98
LoadFunction = 99
FunctionLanguage = 100
RtreeRect = 101
ProcC = 102
UnknownRtreeIndexDistanceType = 103
Protocol = 104
UpsertUniqueSecondaryKey = 105
WrongIndexRecord = 106
WrongIndexParts = 107
WrongIndexOptions = 108
WrongSchemaVersion = 109
MemtxMaxTupleSize = 110
WrongSpaceOptions = 111
UnsupportedIndexFeature = 112
ViewIsRo = 113
NoTransaction = 114
System = 115
Loading = 116
ConnectionToSelf = 117
KeyPartIsTooLong = 118
Compression = 119
CheckpointInProgress = 120
SubStmtMax = 121
CommitInSubStmt = 122
RollbackInSubStmt = 123
Decompression = 124
InvalidXlogType = 125
AlreadyRunning = 126
IndexFieldCountLimit = 127
LocalInstanceIDIsReadOnly = 128
BackupInProgress = 129
ReadViewAborted = 130
InvalidIndexFile = 131
InvalidRunFile = 132
InvalidVylogFile = 133
CheckpointRollback = 134
VyQuotaTimeout = 135
PartialKey = 136
TruncateSystemSpace = 137
LoadModule = 138
VinylMaxTupleSize = 139
WrongDdVersion = 140
WrongSpaceFormat = 141
CreateSequence = 142
AlterSequence = 143
DropSequence = 144
NoSuchSequence = 145
SequenceExists = 146
SequenceOverflow = 147
NoSuchIndexName = 148
SpaceFieldIsDuplicate = 149
CantCreateCollation = 150
WrongCollationOptions = 151
NullablePrimary = 152
NoSuchFieldName = 153
TransactionYield = 154
NoSuchGroup = 155
SqlBindValue = 156
SqlBindType = 157
SqlBindParameterMax = 158
SqlExecute = 159
Unused = 160
SqlBindNotFound = 161
ActionMismatch = 162
ViewMissingSql = 163
ForeignKeyConstraint = 164
NoSuchModule = 165
NoSuchCollation = 166
CreateFkConstraint = 167
DropFkConstraint = 168
NoSuchConstraint = 169
ConstraintExists = 170
SqlTypeMismatch = 171
RowidOverflow = 172
DropCollation = 173
IllegalCollationMix = 174
SqlNoSuchPragma = 175
SqlCantResolveField = 176
IndexExistsInSpace = 177
InconsistentTypes = 178
SqlSyntax = 179
SqlStackOverflow = 180
SqlSelectWildcard = 181
SqlStatementEmpty = 182
SqlKeywordIsReserved = 183
SqlUnrecognizedSyntax = 184
SqlUnknownToken = 185
SqlParserGeneric = 186
SqlAnalyzeArgument = 187
SqlColumnCountMax = 188
HexLiteralMax = 189
IntLiteralMax = 190
SqlParserLimit = 191
IndexDefUnsupported = 192
CkDefUnsupported = 193
MultikeyIndexMismatch = 194
CreateCkConstraint = 195
CkConstraintFailed = 196
SqlColumnCount = 197
FuncIndexFunc = 198
FuncIndexFormat = 199
FuncIndexParts = 200
BootstrapReadonly = 201
Trait Implementations§
Source§impl Clone for TarantoolErrorCode
impl Clone for TarantoolErrorCode
Source§fn clone(&self) -> TarantoolErrorCode
fn clone(&self) -> TarantoolErrorCode
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TarantoolErrorCode
impl Debug for TarantoolErrorCode
Source§impl FromPrimitive for TarantoolErrorCode
impl FromPrimitive for TarantoolErrorCode
Source§fn from_i64(n: i64) -> Option<Self>
fn from_i64(n: i64) -> Option<Self>
Converts an
i64
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_u64(n: u64) -> Option<Self>
fn from_u64(n: u64) -> Option<Self>
Converts an
u64
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_isize(n: isize) -> Option<Self>
fn from_isize(n: isize) -> Option<Self>
Converts an
isize
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_i8(n: i8) -> Option<Self>
fn from_i8(n: i8) -> Option<Self>
Converts an
i8
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_i16(n: i16) -> Option<Self>
fn from_i16(n: i16) -> Option<Self>
Converts an
i16
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_i32(n: i32) -> Option<Self>
fn from_i32(n: i32) -> Option<Self>
Converts an
i32
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_i128(n: i128) -> Option<Self>
fn from_i128(n: i128) -> Option<Self>
Converts an
i128
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read moreSource§fn from_usize(n: usize) -> Option<Self>
fn from_usize(n: usize) -> Option<Self>
Converts a
usize
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_u8(n: u8) -> Option<Self>
fn from_u8(n: u8) -> Option<Self>
Converts an
u8
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_u16(n: u16) -> Option<Self>
fn from_u16(n: u16) -> Option<Self>
Converts an
u16
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_u32(n: u32) -> Option<Self>
fn from_u32(n: u32) -> Option<Self>
Converts an
u32
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_u128(n: u128) -> Option<Self>
fn from_u128(n: u128) -> Option<Self>
Converts an
u128
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read moreSource§impl PartialEq for TarantoolErrorCode
impl PartialEq for TarantoolErrorCode
Source§impl ToPrimitive for TarantoolErrorCode
impl ToPrimitive for TarantoolErrorCode
Source§fn to_i64(&self) -> Option<i64>
fn to_i64(&self) -> Option<i64>
Converts the value of
self
to an i64
. If the value cannot be
represented by an i64
, then None
is returned.Source§fn to_u64(&self) -> Option<u64>
fn to_u64(&self) -> Option<u64>
Converts the value of
self
to a u64
. If the value cannot be
represented by a u64
, then None
is returned.Source§fn to_isize(&self) -> Option<isize>
fn to_isize(&self) -> Option<isize>
Converts the value of
self
to an isize
. If the value cannot be
represented by an isize
, then None
is returned.Source§fn to_i8(&self) -> Option<i8>
fn to_i8(&self) -> Option<i8>
Converts the value of
self
to an i8
. If the value cannot be
represented by an i8
, then None
is returned.Source§fn to_i16(&self) -> Option<i16>
fn to_i16(&self) -> Option<i16>
Converts the value of
self
to an i16
. If the value cannot be
represented by an i16
, then None
is returned.Source§fn to_i32(&self) -> Option<i32>
fn to_i32(&self) -> Option<i32>
Converts the value of
self
to an i32
. If the value cannot be
represented by an i32
, then None
is returned.Source§fn to_i128(&self) -> Option<i128>
fn to_i128(&self) -> Option<i128>
Converts the value of
self
to an i128
. If the value cannot be
represented by an i128
(i64
under the default implementation), then
None
is returned. Read moreSource§fn to_usize(&self) -> Option<usize>
fn to_usize(&self) -> Option<usize>
Converts the value of
self
to a usize
. If the value cannot be
represented by a usize
, then None
is returned.Source§fn to_u8(&self) -> Option<u8>
fn to_u8(&self) -> Option<u8>
Converts the value of
self
to a u8
. If the value cannot be
represented by a u8
, then None
is returned.Source§fn to_u16(&self) -> Option<u16>
fn to_u16(&self) -> Option<u16>
Converts the value of
self
to a u16
. If the value cannot be
represented by a u16
, then None
is returned.Source§fn to_u32(&self) -> Option<u32>
fn to_u32(&self) -> Option<u32>
Converts the value of
self
to a u32
. If the value cannot be
represented by a u32
, then None
is returned.Source§fn to_u128(&self) -> Option<u128>
fn to_u128(&self) -> Option<u128>
Converts the value of
self
to a u128
. If the value cannot be
represented by a u128
(u64
under the default implementation), then
None
is returned. Read moreimpl StructuralPartialEq for TarantoolErrorCode
Auto Trait Implementations§
impl Freeze for TarantoolErrorCode
impl RefUnwindSafe for TarantoolErrorCode
impl Send for TarantoolErrorCode
impl Sync for TarantoolErrorCode
impl Unpin for TarantoolErrorCode
impl UnwindSafe for TarantoolErrorCode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more