Function TRITONSERVER_ErrorCodeString

Function Documentation

const char *TRITONSERVER_ErrorCodeString(TRITONSERVER_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.