(Page 17 of 18 in this chapter)
2.16 Handling Errors
All AG Access functions return a status code when invoked. If the return code is not
SUCCESS (0)
, it is an error code, and the function has failed. All AG Access error codes are prefixed with
ADIERR_ or CTAERR_,
and can be found in
adidef.h
or
ctaerr.h
, respectively.
AG Access error handling functions are listed below:
To...
Use...
Return a text description of the error code
adiGetErrorText
Define a new error handler or method for handling errors
adiSetErrorHandler
(Page 17 of 18 in this chapter)
Tech_Support@nmss.com
Copyright © 1996, Natural MicroSystems, Inc. All rights reserved.