Function TRITONSERVER_ErrorMessage¶
Defined in File tritonserver.h
Function Documentation¶
-
const char *
TRITONSERVER_ErrorMessage
(TRITONSERVER_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.