Function TRTSERVER_ErrorMessage

Function Documentation

const char *TRTSERVER_ErrorMessage(TRTSERVER_Error *error)

Get the error message.

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 error message.

Parameters
  • error: The error object.