Precautions

These APIs are used only in the CANN component customization and custom operator development scenarios. This section describes their functions and parameters to help you understand how these APIs function in the CANN open-source code, enabling you to better use or modify the CANN open-source code.

Paths of the header file and library file of the error reporting APIs:
  • Path of the header file of include (the namespace of the APIs in the header file is ge): ${INSTALL_DIR}/include/base/err_msg.h
  • Path of the dependent library file: ${INSTALL_DIR}/lib64/liberror_manager.so

Replace ${INSTALL_DIR} with the CANN component directory. For example, if the installation is performed by the root user, the default file storage path is /usr/local/Ascend/cann.