IModelStatus Enumeration

Status codes that are used in conjunction with BentleyError. Error status codes are divided into separate ranges for different kinds of errors. All known ranges at least should be defined here, to avoid collisions.

Members

Name Value Description
Success 0  
IMODEL_ERROR_BASE 65536  
AlreadyLoaded IMODEL_ERROR_BASE + 1  
AlreadyOpen IMODEL_ERROR_BASE + 2  
BadArg IMODEL_ERROR_BASE + 3  
BadElement IMODEL_ERROR_BASE + 4  
BadModel IMODEL_ERROR_BASE + 5  
BadRequest IMODEL_ERROR_BASE + 6  
BadSchema IMODEL_ERROR_BASE + 7  
CannotUndo IMODEL_ERROR_BASE + 8  
CodeNotReserved IMODEL_ERROR_BASE + 9  
DeletionProhibited IMODEL_ERROR_BASE + 10  
DuplicateCode IMODEL_ERROR_BASE + 11  
DuplicateName IMODEL_ERROR_BASE + 12  
ElementBlockedChange IMODEL_ERROR_BASE + 13  
FileAlreadyExists IMODEL_ERROR_BASE + 14  
FileNotFound IMODEL_ERROR_BASE + 15  
FileNotLoaded IMODEL_ERROR_BASE + 16  
ForeignKeyConstraint IMODEL_ERROR_BASE + 17  
IdExists IMODEL_ERROR_BASE + 18  
InDynamicTransaction IMODEL_ERROR_BASE + 19  
InvalidCategory IMODEL_ERROR_BASE + 20  
InvalidCode IMODEL_ERROR_BASE + 21  
InvalidCodeSpec IMODEL_ERROR_BASE + 22  
InvalidId IMODEL_ERROR_BASE + 23  
InvalidName IMODEL_ERROR_BASE + 24  
InvalidParent IMODEL_ERROR_BASE + 25  
InvalidProfileVersion IMODEL_ERROR_BASE + 26  
IsCreatingChangeSet IMODEL_ERROR_BASE + 27  
LockNotHeld IMODEL_ERROR_BASE + 28  
Mismatch2d3d IMODEL_ERROR_BASE + 29  
MismatchGcs IMODEL_ERROR_BASE + 30  
MissingDomain IMODEL_ERROR_BASE + 31  
MissingHandler IMODEL_ERROR_BASE + 32  
MissingId IMODEL_ERROR_BASE + 33  
NoGeometry IMODEL_ERROR_BASE + 34  
NoMultiTxnOperation IMODEL_ERROR_BASE + 35  
NotDgnMarkupProject IMODEL_ERROR_BASE + 36  
NotEnabled IMODEL_ERROR_BASE + 37  
NotFound IMODEL_ERROR_BASE + 38  
NotOpen IMODEL_ERROR_BASE + 39  
NotOpenForWrite IMODEL_ERROR_BASE + 40  
NotSameUnitBase IMODEL_ERROR_BASE + 41  
NothingToRedo IMODEL_ERROR_BASE + 42  
NothingToUndo IMODEL_ERROR_BASE + 43  
ParentBlockedChange IMODEL_ERROR_BASE + 44  
ReadError IMODEL_ERROR_BASE + 45  
ReadOnly IMODEL_ERROR_BASE + 46  
ReadOnlyDomain IMODEL_ERROR_BASE + 47  
RepositoryManagerError IMODEL_ERROR_BASE + 48  
SQLiteError IMODEL_ERROR_BASE + 49  
TransactionActive IMODEL_ERROR_BASE + 50  
UnitsMissing IMODEL_ERROR_BASE + 51  
UnknownFormat IMODEL_ERROR_BASE + 52  
UpgradeFailed IMODEL_ERROR_BASE + 53  
ValidationFailed IMODEL_ERROR_BASE + 54  
VersionTooNew IMODEL_ERROR_BASE + 55  
VersionTooOld IMODEL_ERROR_BASE + 56  
ViewNotFound IMODEL_ERROR_BASE + 57  
WriteError IMODEL_ERROR_BASE + 58  
WrongClass IMODEL_ERROR_BASE + 59  
WrongIModel IMODEL_ERROR_BASE + 60  
WrongDomain IMODEL_ERROR_BASE + 61  
WrongElement IMODEL_ERROR_BASE + 62  
WrongHandler IMODEL_ERROR_BASE + 63  
WrongModel IMODEL_ERROR_BASE + 64  
ConstraintNotUnique IMODEL_ERROR_BASE + 65  
NoGeoLocation IMODEL_ERROR_BASE + 66  
ServerTimeout IMODEL_ERROR_BASE + 67  

Defined in

Last Updated: 13 June, 2024