Function TRTSERVER_ErrorCodeString

Function Documentation

const char *TRTSERVER_ErrorCodeString(TRTSERVER_Error *error)

Get the string representation of an error code.

The returned string is not owned by the caller and so should not be modified or freed. The lifetime of the returned string extends only as long as ‘error’ and must not be accessed once ‘error’ is deleted.

Return

The string representation of the error code.

Parameters
  • error: The error object.