pub unsafe extern "C" fn tr_error_new_literal(
    code: c_int,
    message: *const c_char
) -> *mut tr_error
Expand description

@brief Create new error object using literal error message.

@param[in] code Error code (platform-specific). @param[in] message Error message.

@return Newly allocated error object on success, NULL otherwise.