mirror of
https://github.com/switchbrew/libnx.git
synced 2025-07-05 10:52:15 +02:00
Fatal: Update comments.
This commit is contained in:
parent
5754be9ff9
commit
9dd6eba3ae
@ -7,6 +7,7 @@
|
||||
#pragma once
|
||||
#include "../types.h"
|
||||
|
||||
/// Type of thrown fatal error.
|
||||
typedef enum {
|
||||
FatalType_ErrorReportAndErrorScreen = 0,
|
||||
FatalType_ErrorReport = 1,
|
||||
@ -24,6 +25,6 @@ void NORETURN fatalSimple(Result err);
|
||||
* @brief Triggers a system fatal error with a custom FatalType.
|
||||
* @param err[in] Result code to throw.
|
||||
* @param err[in] Type of fatal error to throw.
|
||||
* @note This function does not return.
|
||||
* @note This function may not return, depending on \ref FatalType.
|
||||
*/
|
||||
void fatalWithType(Result err, FatalType type);
|
||||
|
Loading…
Reference in New Issue
Block a user