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
Aborted  
AlreadyLoaded  
AlreadyOpen  
BadArg  
BadElement  
BadModel  
BadRequest  
BadSchema  
CannotUndo  
CodeNotReserved  
ConstraintNotUnique  
DeletionProhibited  
DuplicateCode  
DuplicateName  
ElementBlockedChange  
FileAlreadyExists  
FileNotFound  
FileNotLoaded  
ForeignKeyConstraint  
FunctionNotFound  
IdExists  
IMODEL_ERROR_BASE  
InDynamicTransaction  
InvalidCategory  
InvalidCode  
InvalidCodeSpec  
InvalidId  
InvalidName  
InvalidParent  
InvalidProfileVersion  
IsCreatingChangeSet  
LockNotHeld  
Mismatch2d3d  
MismatchGcs  
MissingDomain  
MissingHandler  
MissingId  
NoActiveCommand  
NoContent  
NoGeoLocation  
NoGeometry  
NoMultiTxnOperation  
NotEnabled  
NotFound  
NothingToRedo  
NothingToUndo  
NotOpen  
NotOpenForWrite  
NotRegistered  
NotSameUnitBase  
ParentBlockedChange  
ReadError  
ReadOnly  
ReadOnlyDomain  
RepositoryManagerError  
ServerTimeout  
SQLiteError  
Success  
TransactionActive  
UnitsMissing  
UnknownFormat  
UpgradeFailed  
ValidationFailed  
VersionTooNew  
VersionTooOld  
ViewNotFound  
WriteError  
WrongClass  
WrongDomain  
WrongElement  
WrongHandler  
WrongIModel  
WrongModel  

Defined in

  • core/bentley/lib/cjs/BentleyError.d.ts Line 18

Last Updated: 13 May, 2024