GEGetErrorMsg

Applicability

Product

Supported or Not

Atlas A3 training products/Atlas A3 inference products

Atlas A2 training products/Atlas A2 inference products

Atlas 200I/500 A2 inference products

x

Atlas inference products

Atlas training products

Header File/Library File

  • Header file: #include <ge/ge_api.h>
  • Library file: libge_runner.so

Function Usage

Obtains and clears the error message returned by other API call failure in the calling process or thread.

You are advised to call this API when an error is reported during execution, to obtain the error message for fault locating. This API cannot be used together with GEGetErrorMsgV2. You are advised to use GEGetErrorMsgV2.

Prototype

1
std::string GEGetErrorMsg()

Parameters

None

Returns

Parameter

Type

Description

-

std::string

Error message displayed during the execution.

Restrictions

None