1 /***************************************************************************
3 * Copyright (C) Lakshya Solutions Ltd. All rights reserved. *
5 ***************************************************************************/
11 * Database Return Value.
12 * This contains all the error codes returned by all the exposed APIs<br>
19 OK
= 0, /**< OK. No error. Operation succeded. */
37 ErrNoConnection
= -18,
41 ErrNullViolation
= -22,
42 ErrPeerResponse
= -23,
44 ErrPeerExecFailed
= -25,
50 ErrReadOnlyCache
= -31,
52 ErrAutoIncUpdate
= -33,
53 ErrForeignKeyInsert
=-34,
54 ErrForeignKeyDelete
=-35,
55 ErrNullValues
=-36, //used in evaluate on null values
56 ErrDefaultValue
=-37, //Added here to check Default value
58 ErrNote
= -97, // add new error type here