BTreeCheckError - This is raised if checking has been turned on in the btree and an error is discovered when performed extra btree checking. This is defined in the a_btree class.
ColumnConstraintError - this is raised when the value of a column violates one ore more of the column constraints. This is defined in a_column.rb.
DeadLockError - this is raise whenever the btree could encounter a deadlock error. Under normal circumstances, the could happen it a wait for a lock takes too long. This is defined in the a_btree class. This is used by the a_btree class and is defined in a_debug.rb.
FileStoreIsFull - This is raised whenever you call write(), use_space(), or make_avail() and there is not enough free space in the filestore. This is defined in a_buffer.c but is described or used by the A_FileStore class.
NotInTransaction - this is raised whenever you attempt to insert, update, or delete and you have not properly created or started a transaction. Transactions are required. This is created in and is used by the A_Transaction class.
TransactionError - this is raised whenever you attempt to do something in a transaction this illegal. This is also called when you attempt to update a row in a table that is currently being updated in another transaction. This is created in and is used by the A_Transaction class.
TriggerError - you can use this when you raise an error inside a trigger method. This error is defined in the A_Triggers module.
Existing errors used by ArunaDB:
ArgumentError - this is raised by most of the ArunaDB classes whenever a parameter is missing or is incorrect.
EOFError - this is raised by the btree when you attempt read beyond the of the btree. This is raised by read_next after the last row has already been read and by read_prev after the first row in the btree has been read.
ObjectIsInvalid - this is raised by most of the ArunaDB classes whenever you call a method using an object that has not been properly set up, has been closed, or is invalid. For example:
abtree = A_Btree.new('test')
abtree.close
abtree.each(){} will raise this error.
RuntimeError - this is used a generic error raised by most of the ArunaDB. When an error does not fit one of the other error types, this error is raised.