Function ctru_sys::ERRF_ThrowResult

source ·
pub unsafe extern "C" fn ERRF_ThrowResult(failure: Result) -> Result
Expand description

Throws (and logs) a system error with the given Result code.

§Arguments

  • failure (direction in) - Result code to throw.

This calls ERRF_Throw with error type ERRF_ERRTYPE_GENERIC and fills in the required data.

This function does fill in the address where this function was called from.