DuroDBMS API  1.2
Built-in error types

DuroDBMS errors are scalar types. They are shown below in Tutorial D notation.

TYPE no_running_transaction_error POSSREP { };
TYPE invalid_argument_error POSSREP { msg string };
TYPE type_mismatch_error POSSREP { msg string };
TYPE not_found_error POSSREP { msg string };
TYPE operator_not_found_error POSSREP { msg string };
TYPE type_not_found_error POSSREP { msg string };
TYPE name_error POSSREP { msg string };
TYPE element_exists_error POSSREP { msg string };
TYPE type_constraint_violation_error POSSREP { msg string };
TYPE key_violation_error POSSREP { msg string };
TYPE predicate_violation_error POSSREP { msg string };
TYPE aggregate_undefined_error POSSREP { };
TYPE version_mismatch_error POSSREP { };
TYPE not_supported_error POSSREP { msg string };
TYPE syntax_error possrep { msg string };
TYPE in_use_error possrep { msg string };
TYPE no_memory_error POSSREP {  };

Insufficient memory.

TYPE system_error POSSREP { msg string };

Unspecified system error.

TYPE lock_not_granted_error POSSREP { };

A lock was requested but could not be granted.

TYPE deadlock_error POSSREP { };

A deadlock condition was detected.

TYPE resource_not_found_error POSSREP { msg string };

A system resource, usually a file, could not be found.

TYPE internal_error POSSREP { msg string };

Internal error.

TYPE data_corrupted_error POSSREP { msg string };

Indicates data corruption.

TYPE run_recovery_error POSSREP { msg string };

Indicates temporary data corruption that requires running Berkeley DB recovery.