libpgeasy provides functions that allow the user to modify error processing directives from within the application.
on_error_continue allows the application to continue after encountering certain errors when performing doquery calls.
void on_error_continue (); |
on_error_continue sets the on_error_state flag to ON_ERROR_CONTINUE.
on_error_stop forces the application to stop after encountering certain errors when performing doquery calls.
void on_error_stop (); |
on_error_stop sets the on_error_state flag to ON_ERROR_STOP.
By default, when errors are encountered by the libpgeasy doquery function, processing halts (as the error flag on_error_state is intrinsically set to ON_ERROR_STOP).