An application can set and reset the error handler callback function
using the following routines. It can also access the library's internal error handling
mechanism using the Ni_Report_Error() command.
Ni_Inquire_Last_Error()
Return stats about the last
error reported.
Ni_Set_Error_Handler()
Specify the
application-defined error handler function.
Ni_Reset_Error_Handler()
Reset the error handler
function to the internal library routine.