[][src]Enum tarantool_module::error::TarantoolErrorCode

#[repr(u32)]pub enum TarantoolErrorCode {
    Unknown,
    IllegalParams,
    MemoryIssue,
    TupleFound,
    TupleNotFound,
    Unsupported,
    NonMaster,
    Readonly,
    Injection,
    CreateSpace,
    SpaceExists,
    DropSpace,
    AlterSpace,
    IndexType,
    ModifyIndex,
    LastDrop,
    TupleFormatLimit,
    DropPrimaryKey,
    KeyPartType,
    ExactMatch,
    InvalidMsgpack,
    ProcRet,
    TupleNotArray,
    FieldType,
    IndexPartTypeMismatch,
    Splice,
    UpdateArgType,
    FormatMismatchIndexPart,
    UnknownUpdateOp,
    UpdateField,
    FunctionTxActive,
    KeyPartCount,
    ProcLua,
    NoSuchProc,
    NoSuchTrigger,
    NoSuchIndexID,
    NoSuchSpace,
    NoSuchFieldNo,
    ExactFieldCount,
    FieldMissing,
    WalIo,
    MoreThanOneTuple,
    AccessDenied,
    CreateUser,
    DropUser,
    NoSuchUser,
    UserExists,
    PasswordMismatch,
    UnknownRequestType,
    UnknownSchemaObject,
    CreateFunction,
    NoSuchFunction,
    FunctionExists,
    BeforeReplaceRet,
    MultistatementTransaction,
    TriggerExists,
    UserMax,
    NoSuchEngine,
    ReloadCfg,
    Cfg,
    SavepointEmptyTx,
    NoSuchSavepoint,
    UnknownReplica,
    ReplicasetUuidMismatch,
    InvalidUuid,
    ReplicasetUuidIsRo,
    InstanceUuidMismatch,
    ReplicaIDIsReserved,
    InvalidOrder,
    MissingRequestField,
    Identifier,
    DropFunction,
    IteratorType,
    ReplicaMax,
    InvalidXlog,
    InvalidXlogName,
    InvalidXlogOrder,
    NoConnection,
    Timeout,
    ActiveTransaction,
    CursorNoTransaction,
    CrossEngineTransaction,
    NoSuchRole,
    RoleExists,
    CreateRole,
    IndexExists,
    SessionClosed,
    RoleLoop,
    Grant,
    PrivGranted,
    RoleGranted,
    PrivNotGranted,
    RoleNotGranted,
    MissingSnapshot,
    CantUpdatePrimaryKey,
    UpdateIntegerOverflow,
    GuestUserPassword,
    TransactionConflict,
    UnsupportedPriv,
    LoadFunction,
    FunctionLanguage,
    RtreeRect,
    ProcC,
    UnknownRtreeIndexDistanceType,
    Protocol,
    UpsertUniqueSecondaryKey,
    WrongIndexRecord,
    WrongIndexParts,
    WrongIndexOptions,
    WrongSchemaVersion,
    MemtxMaxTupleSize,
    WrongSpaceOptions,
    UnsupportedIndexFeature,
    ViewIsRo,
    NoTransaction,
    System,
    Loading,
    ConnectionToSelf,
    KeyPartIsTooLong,
    Compression,
    CheckpointInProgress,
    SubStmtMax,
    CommitInSubStmt,
    RollbackInSubStmt,
    Decompression,
    InvalidXlogType,
    AlreadyRunning,
    IndexFieldCountLimit,
    LocalInstanceIDIsReadOnly,
    BackupInProgress,
    ReadViewAborted,
    InvalidIndexFile,
    InvalidRunFile,
    InvalidVylogFile,
    CheckpointRollback,
    VyQuotaTimeout,
    PartialKey,
    TruncateSystemSpace,
    LoadModule,
    VinylMaxTupleSize,
    WrongDdVersion,
    WrongSpaceFormat,
    CreateSequence,
    AlterSequence,
    DropSequence,
    NoSuchSequence,
    SequenceExists,
    SequenceOverflow,
    NoSuchIndexName,
    SpaceFieldIsDuplicate,
    CantCreateCollation,
    WrongCollationOptions,
    NullablePrimary,
    NoSuchFieldName,
    TransactionYield,
    NoSuchGroup,
    SqlBindValue,
    SqlBindType,
    SqlBindParameterMax,
    SqlExecute,
    Unused,
    SqlBindNotFound,
    ActionMismatch,
    ViewMissingSql,
    ForeignKeyConstraint,
    NoSuchModule,
    NoSuchCollation,
    CreateFkConstraint,
    DropFkConstraint,
    NoSuchConstraint,
    ConstraintExists,
    SqlTypeMismatch,
    RowidOverflow,
    DropCollation,
    IllegalCollationMix,
    SqlNoSuchPragma,
    SqlCantResolveField,
    IndexExistsInSpace,
    InconsistentTypes,
    SqlSyntax,
    SqlStackOverflow,
    SqlSelectWildcard,
    SqlStatementEmpty,
    SqlKeywordIsReserved,
    SqlUnrecognizedSyntax,
    SqlUnknownToken,
    SqlParserGeneric,
    SqlAnalyzeArgument,
    SqlColumnCountMax,
    HexLiteralMax,
    IntLiteralMax,
    SqlParserLimit,
    IndexDefUnsupported,
    CkDefUnsupported,
    MultikeyIndexMismatch,
    CreateCkConstraint,
    CkConstraintFailed,
    SqlColumnCount,
    FuncIndexFunc,
    FuncIndexFormat,
    FuncIndexParts,
    BootstrapReadonly,
}

Codes of Tarantool errors

Variants

Unknown
IllegalParams
MemoryIssue
TupleFound
TupleNotFound
Unsupported
NonMaster
Readonly
Injection
CreateSpace
SpaceExists
DropSpace
AlterSpace
IndexType
ModifyIndex
LastDrop
TupleFormatLimit
DropPrimaryKey
KeyPartType
ExactMatch
InvalidMsgpack
ProcRet
TupleNotArray
FieldType
IndexPartTypeMismatch
Splice
UpdateArgType
FormatMismatchIndexPart
UnknownUpdateOp
UpdateField
FunctionTxActive
KeyPartCount
ProcLua
NoSuchProc
NoSuchTrigger
NoSuchIndexID
NoSuchSpace
NoSuchFieldNo
ExactFieldCount
FieldMissing
WalIo
MoreThanOneTuple
AccessDenied
CreateUser
DropUser
NoSuchUser
UserExists
PasswordMismatch
UnknownRequestType
UnknownSchemaObject
CreateFunction
NoSuchFunction
FunctionExists
BeforeReplaceRet
MultistatementTransaction
TriggerExists
UserMax
NoSuchEngine
ReloadCfg
Cfg
SavepointEmptyTx
NoSuchSavepoint
UnknownReplica
ReplicasetUuidMismatch
InvalidUuid
ReplicasetUuidIsRo
InstanceUuidMismatch
ReplicaIDIsReserved
InvalidOrder
MissingRequestField
Identifier
DropFunction
IteratorType
ReplicaMax
InvalidXlog
InvalidXlogName
InvalidXlogOrder
NoConnection
Timeout
ActiveTransaction
CursorNoTransaction
CrossEngineTransaction
NoSuchRole
RoleExists
CreateRole
IndexExists
SessionClosed
RoleLoop
Grant
PrivGranted
RoleGranted
PrivNotGranted
RoleNotGranted
MissingSnapshot
CantUpdatePrimaryKey
UpdateIntegerOverflow
GuestUserPassword
TransactionConflict
UnsupportedPriv
LoadFunction
FunctionLanguage
RtreeRect
ProcC
UnknownRtreeIndexDistanceType
Protocol
UpsertUniqueSecondaryKey
WrongIndexRecord
WrongIndexParts
WrongIndexOptions
WrongSchemaVersion
MemtxMaxTupleSize
WrongSpaceOptions
UnsupportedIndexFeature
ViewIsRo
NoTransaction
System
Loading
ConnectionToSelf
KeyPartIsTooLong
Compression
CheckpointInProgress
SubStmtMax
CommitInSubStmt
RollbackInSubStmt
Decompression
InvalidXlogType
AlreadyRunning
IndexFieldCountLimit
LocalInstanceIDIsReadOnly
BackupInProgress
ReadViewAborted
InvalidIndexFile
InvalidRunFile
InvalidVylogFile
CheckpointRollback
VyQuotaTimeout
PartialKey
TruncateSystemSpace
LoadModule
VinylMaxTupleSize
WrongDdVersion
WrongSpaceFormat
CreateSequence
AlterSequence
DropSequence
NoSuchSequence
SequenceExists
SequenceOverflow
NoSuchIndexName
SpaceFieldIsDuplicate
CantCreateCollation
WrongCollationOptions
NullablePrimary
NoSuchFieldName
TransactionYield
NoSuchGroup
SqlBindValue
SqlBindType
SqlBindParameterMax
SqlExecute
Unused
SqlBindNotFound
ActionMismatch
ViewMissingSql
ForeignKeyConstraint
NoSuchModule
NoSuchCollation
CreateFkConstraint
DropFkConstraint
NoSuchConstraint
ConstraintExists
SqlTypeMismatch
RowidOverflow
DropCollation
IllegalCollationMix
SqlNoSuchPragma
SqlCantResolveField
IndexExistsInSpace
InconsistentTypes
SqlSyntax
SqlStackOverflow
SqlSelectWildcard
SqlStatementEmpty
SqlKeywordIsReserved
SqlUnrecognizedSyntax
SqlUnknownToken
SqlParserGeneric
SqlAnalyzeArgument
SqlColumnCountMax
HexLiteralMax
IntLiteralMax
SqlParserLimit
IndexDefUnsupported
CkDefUnsupported
MultikeyIndexMismatch
CreateCkConstraint
CkConstraintFailed
SqlColumnCount
FuncIndexFunc
FuncIndexFormat
FuncIndexParts
BootstrapReadonly

Trait Implementations

impl Clone for TarantoolErrorCode[src]

impl Debug for TarantoolErrorCode[src]

impl FromPrimitive for TarantoolErrorCode[src]

impl PartialEq<TarantoolErrorCode> for TarantoolErrorCode[src]

impl StructuralPartialEq for TarantoolErrorCode[src]

impl ToPrimitive for TarantoolErrorCode[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.