libnx
fatal.h
Go to the documentation of this file.
1 /**
2  * @file fatal.h
3  * @brief Fatal error (fatal:u) service IPC wrapper.
4  * @author plutoo
5  * @copyright libnx Authors
6  */
7 #pragma once
8 #include "../types.h"
9 
10 /**
11  * @brief Triggers a system fatal error.
12  * @param err[in] Result code to throw.
13  * @note This function does not return.
14  */
15 void NORETURN fatalSimple(Result err);
u32 Result
Function error code result type.
Definition: types.h:46
void fatalSimple(Result err)
Triggers a system fatal error.