# Enum QnnBackend\_Error\_t

- Defined in [File QnnBackend.h](https://docs.qualcomm.com/doc/80-63442-10/topic/api-rst_file_include_QNN_QnnBackend_h.html#file-include-qnn-qnnbackend-h)

## Enum Documentation

- enum QnnBackend\_Error\_t

    - QNN Backend API result / error codes.

*Values:*

- enumerator QNN\_BACKEND\_MIN\_ERROR = 4000

    - 

- enumerator QNN\_BACKEND\_NO\_ERROR = 0

    - Qnn Backend success.

- enumerator QNN\_BACKEND\_ERROR\_MEM\_ALLOC = [QNN\_COMMON\_ERROR\_MEM\_ALLOC](https://docs.qualcomm.com/doc/80-63442-10/topic/api_error_codes.html#_CPPv4N17QnnCommon_Error_t26QNN_COMMON_ERROR_MEM_ALLOCE)

    - General error relating to memory allocation in Backend API.

- enumerator QNN\_BACKEND\_ERROR\_UNSUPPORTED\_PLATFORM = [QNN\_COMMON\_ERROR\_PLATFORM\_NOT\_SUPPORTED](https://docs.qualcomm.com/doc/80-63442-10/topic/api_error_codes.html#_CPPv4N17QnnCommon_Error_t39QNN_COMMON_ERROR_PLATFORM_NOT_SUPPORTEDE)

    - Backend attempted to be created on an unsupported platform.

- enumerator QNN\_BACKEND\_ERROR\_CANNOT\_INITIALIZE = 4000 + 0

    - Backend failed to initialize.

- enumerator QNN\_BACKEND\_ERROR\_TERMINATE\_FAILED = 4000 + 2

    - Failed to free allocated resources during termination.

- enumerator QNN\_BACKEND\_ERROR\_NOT\_SUPPORTED = 4000 + 3

    - Backend does not support requested functionality.

- enumerator QNN\_BACKEND\_ERROR\_INVALID\_ARGUMENT = 4000 + 4

    - Invalid function argument.

- enumerator QNN\_BACKEND\_ERROR\_OP\_PACKAGE\_NOT\_FOUND = 4000 + 5

    - Could not find specified op package.

- enumerator QNN\_BACKEND\_ERROR\_OP\_PACKAGE\_IF\_PROVIDER\_NOT\_FOUND = 4000 + 6

    - Could not load interface provider from op package library.

- enumerator QNN\_BACKEND\_ERROR\_OP\_PACKAGE\_REGISTRATION\_FAILED = 4000 + 7

    - Failed to register op package.

- enumerator QNN\_BACKEND\_ERROR\_OP\_PACKAGE\_UNSUPPORTED\_VERSION = 4000 + 8

    - Backend does not support the op config’s interface version.

- enumerator QNN\_BACKEND\_ERROR\_OP\_PACKAGE\_DUPLICATE = 4000 + 9

    - An Op with the same package name and op name was already registered.

- enumerator QNN\_BACKEND\_ERROR\_INCONSISTENT\_CONFIG = 4000 + 10

    - Inconsistent backend configuration.

- enumerator QNN\_BACKEND\_ERROR\_INVALID\_HANDLE = 4000 + 11

    - Invalid backend handle.

- enumerator QNN\_BACKEND\_ERROR\_INVALID\_CONFIG = 4000 + 12

    - Invalid config.

- enumerator QNN\_BACKEND\_MAX\_ERROR = 4999

    - 

- enumerator QNN\_BACKEND\_ERROR\_UNDEFINED = 0x7FFFFFFF

    -

Last Published: Jun 04, 2026