Skip to content

Error Handling

Database drivers handle several types of errors. We distinguish between driver-level and database-level errors.

An example of a driver-level error would be trying to set an attribute for a non-existing column.

Database-level errors are raised by the server and passed on by the driver to DataFlex. Not having sufficient rights to perform a certain operation will trigger a database-level error. Both warnings and errors are reported as database-level errors. There is no warning concept in the DataFlex environment, so the SQL drivers pass warnings as errors. It is possible to switch off reporting warnings as errors (they are not reported at all in that case) by using the Ignore_Warnings driver configuration keyword.

See Also