Description

Converts return codes to string representations of the errors listed in GrdStatus.

Allows you to get a text message with error description returned from a Guardant Licensing API function call.

Syntax

int GRD_API GrdGetErrorMessage(int errorCode,
							   int lang,
							   char* msgBuf,
							   grd_uint32 msgBufSize);

Parameters

errorCode
Error number
lang

Error text language identifier: 

0 — English
1 — Russian

msgBuf

Pointer to a buffer allocated for a null-terminated string with a text representation of the error

msgBufSize

The size (in bytes) of the buffer for a text representation of the error

Return values

GRD_OK

GRD_INVALID_PARAMETER

  • No labels