Product Documentation

FairCom DB API API for C# - Developers Guide

Previous Topic

Next Topic

FairCom DB API .NET Error and Return Values

This table lists the possible .NET errors that may be encountered during the usage of FairCom DB API .NET.

Value

Symbolic Constant

Explanation

0

CTDBRET_OK

FairCom DB API .NET C API return OK

4000

CTDBRET_BASE

Base error number

4001

CTDBRET_NOMEMORY

Not enough memory

4002

CTDBRET_NULHANDLE

Handle is NULL

4003

CTDBRET_NOTSESSION

No session handle

4004

CTDBRET_INVARG

Invalid argument

4005

CTDBRET_INDEXRANGE

Index out of range

4006

CTDBRET_ARGSMALL

Argument is too small

4007

CTDBRET_NULARG

Null argument not valid

4008

CTDBRET_ARGNUL

Null argument not valid

4009

CTDBRET_NOTOPEN

Table is not open

4010

CTDBRET_NOTDATABASE

Not a database handle

4011

CTDBRET_ISACTIVE

Handle is active

4012

CTDBRET_NOTACTIVE

Handle is not active

4013

CTDBRET_NOTTABLE

Handle is not a table

4014

CTDBRET_NOSUCHFIELD

Unknown field name

4015

CTDBRET_CANTDELETE

Can't perform delete

4016

CTDBRET_FIELDEXIST

Field already exists

4017

CTDBRET_NOTFIELD

Not a field handle

4018

CTDBRET_NOTINDEX

Not an index handle

4019

CTDBRET_INVTYPE

Invalid field/key type

4020

CTDBRET_NOTSEGMENT

Not a segment handle

4021

CTDBRET_DATABASEEXIST

Database already exists

4022

CTDBRET_TABLEEXIST

Table already exists

4023

CTDBRET_NOSUCHTABLE

Table does not exist

4024

CTDBRET_NOTRECORD

Not a record handle

4025

CTDBRET_INTERNAL

Internal error

4026

CTDBRET_INVFIND

Invalid find mode

4027

CTDBRET_NODATA

No data in record

4028

CTDBRET_INVFORMAT

Invalid date or time format

4029

CTDBRET_INVDATE

Invalid date

4030

CTDBRET_INVDAY

Invalid date day

4031

CTDBRET_INVMONTH

Invalid date month

4032

CTDBRET_INVYEAR

Invalid date year

4033

CTDBRET_INVTIME

Invalid packed CTTIME

4034

CTDBRET_INVHOUR

Invalid hour

4035

CTDBRET_INVMINUTE

Invalid minute

4036

CTDBRET_INVSECOND

Invalid second

4037

CTDBRET_INVAMPM

Invalid morning/evening indicator.

4038

CTDBRET_OVERFLOW

Operation causes Overflow

4039

CTDBRET_UNDERFLOW

Operation causes Underflow

4040

CTDBRET_DIVBYZERO

Division by zero error

4041

CTDBRET_INVDATETIME

Invalid DateTime

4042

CTDBRET_CANTCONVERT

Can't perform type conversion

4043

CTDBRET_TOOBIG

Argument is too big

4044

CTDBRET_NOSUCHPATH

Path does not exist

4045

CTDBRET_NOSUCHINDEX

Unknown index number

4046

CTDBRET_NOTFOUND

Not found

4047

CTDBRET_INVSEGMODE

Invalid segment mode

4048

CTDBRET_NOINDEX

Table has no indexes

4049

CTDBRET_NOSUCHSEGMENT

Invalid segment number

4050

CTDBRET_INVICON

Invalid ISAM context handle

4051

CTDBRET_INDEXEXIST

Index name already in use

4052

CTDBRET_MOREDATA

Partial field data read

4053

CTDBRET_NOINDEXNAME

Invalid index name

4054

CTDBRET_NOTSUPPORTED

Feature not supported

4055

CTDBRET_INVLOCKMODE

Invalid lock mode

4056

CTDBRET_NOLOCK

Record not locked

4057

CTDBRET_NOWRITELOCK

Record is not locked for writes

4058

CTDBRET_NOTDICT

Dictionary handle not allocated

4059

CTDBRET_NOTYET

Not yet implemented

4060

CTDBRET_INVNUMBER

Invalid number

4061

CTDBRET_INVPREC

Invalid number precision

4062

CTDBRET_INVSCALE

Invalid number scale

4063

CTDBRET_INVRECBUF

Record buffer not large enough

4064

CTDBRET_CANTDELRECBYT

RECBYT index cannot be deleted

4065

CTDBRET_CANTDELROWID

ROWID index cannot be deleted

4066

CTDBRET_NOROWID

Table has no ROWID index

4067

CTDBRET_CANCREATE

Cannot create a file (dupdb)

4068

CTDBRET_CANTCOPY

Cannot copy a file (dupdb)

4069

CTDBRET_NOTSUSPENDED

Cannot restore lock

4070

CTDBRET_INVISOLEVEL

Invalid isolation level

4071

CTDBRET_CNDXFALSE

Conditional expression evaluates to false

4072

CTDBRET_CNDXSYNTAX

Conditional expression parser error

4073

CTDBRET_CONDXTYPE

Invalid type mixup

4074

CTDBRET_CNDXFIELD

Unknown field name

4075

CTDBRET_CNDXINTERNAL

Internal yacc error

4076

CTDBRET_CNDXMEMORY

Memory allocation failed

4077

CTDBRET_CNDXOVERFLOW

Stack overflow

4078

CTDBRET_CNDXUNDERFLOW

Stack underflow

4079

CTDBRET_CNDXEXEC

Invalid execution node

4080

CTDBRET_CNDXDIVISION

Division by zero

4081

CTDBRET_CNDXNOSCHEMA

No record schema

4082

CTDBRET_CNDXNORECBUF

No record buffer

4083

CTDBRET_CNDXSDAT

Not enough data

4084

CTDBRET_INVSESSIONTYPE

Invalid session type

4085

CTDBRET_INVALTERACTION

Invalid alter table action

4086

CTDBRET_DIFFERENT

Records are different

4087

CTDBRET_INVOPERATOR

Invalid operator

4088

CTDBRET_READONLY

Table was open read only

4089

CTDBRET_NOTIMPLEMENTED

CALLBACK not implemented

4090

CTDBRET_INVHANDLE

Invalid handle type

4091

CTDBRET_INVCALLBACK

Invalid callback type

4092

CTDBRET_CANTMOVE

Can't move segment

4093

CTDBRET_INDEXDUPNAME

Index name duplicated in database

4094

CTDBRET_NOSUCHDATABASE

Database does not exit or not found

4095

CTDBRET_NOSEGMENT

Index has no segments

4096

CTDBRET_BATCHNOTACTIVE

Batch operation not active

4097

CTDBRET_BATCHISACTIVE

Batch operation is already active

4098

CTDBRET_INVBATCHMODE

Invalid batch mode

4099

CTDBRET_NOTRESOURCE

Not a resource handle

4100

CTDBRET_INVATTACH

Invalid session attach mode

4101

CTDBRET_NOTATTACHED

Session not attached

4102

CTDBRET_BINARYLENGTH

Invalid binary field length

4103

CTDBRET_ROUTERERROR

Router table error

4104

CTDBRET_INVROUTERNAME

Invalid router table name

4105

CTDBRET_INVROUTERNBR

Invalid number of fields in router

4106

CTDBRET_INVROUNTERMAP

Invalid router field mapping

4107

CTDBRET_DBNOTSQL

The database is not SQL

TOCIndex