From OpenSCADAWiki
Error exception (TError)
Data:
Error codes (enum — TError::Codes):
- TError::NoCode (0), TError::NoError (0) — no error;
- TError::Core_CntrWarning (1) — core level, warning of the control interface;
- TError::Core_CntrError (2) — core level, error of the control interface;
- TError::Core_RWLock_EDEADLK (3) — core level, deadlock of the RWLock;
- TError::Core_TaskCrt (4) — core level, error the task-thread creation;
- TError::Core_NoNode (5) — no node, error at accessing some missing node;
- TError::Tr_Connect (10) — transport level, error connection;
- TError::Tr_UnknownHost (11) — transport level, unknown host;
- TError::Tr_ErrTransport (12) — transport level, transport error;
- TError::Tr_ErrResponse (13) — transport level, response error;
- TError::Tr_ErrDevice (14) — transport level, device error;
- TError::DB_SQL_Connect (20) — DB level, error the SQL-connection;
- TError::DB_SQL_Query (21) — DB level, error the SQL-query;
- TError::DB_ReadOnly (23) — DB in the Read Only mode;
- TError::Arch_Val_OldBufVl (30) — archives level, old value placing to the value buffer;
- TError::Arch_Val_DblVSrc (31) — double value source setting try;
- TError::EXT (100) — extended errors of OpenSCADA modules to use as TError::EXT+{N}.