GEGetErrorMsgV3

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_v2.h>
  • Library file: libge_runner_v2.so

Function Usage

Obtains and clears the error messages returned by other failed API calls in the same 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.

Prototype

1
ge::AscendString GEGetErrorMsgV3()

Parameters

None

Returns

Parameter

Type

Description

-

ge::AscendString

Error information displayed during the execution.

Constraints

None