Function ctru_sys::ERRF_ThrowResultWithMessage
source · pub unsafe extern "C" fn ERRF_ThrowResultWithMessage(
failure: Result,
message: *const c_char
) -> Result
Expand description
Throws a system error with the given Result code and message.
§Arguments
failure
(direction in) - Result code to throw.message
(direction in) - The message to display.
This calls ERRF_Throw with error type ERRF_ERRTYPE_FAILURE and fills in the required data.
This function does not fill in the address where this function was called from because it would not be displayed.