mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 20:42:44 +02:00
542 lines
108 KiB
HTML
542 lines
108 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
|
<meta name="generator" content="Doxygen 1.9.8"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>libnx: include/switch/applets/error.h Source File</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
<script type="text/javascript" src="search/search.js"></script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr id="projectrow">
|
|
<td id="projectalign">
|
|
<div id="projectname">libnx<span id="projectnumber"> v4.9.0</span>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.9.8 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
|
/* @license-end */
|
|
</script>
|
|
<script type="text/javascript" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
/* @license-end */
|
|
</script>
|
|
<div id="main-nav"></div>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(document).ready(function() { init_codefold(0); });
|
|
/* @license-end */
|
|
</script>
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
</div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<div id="MSearchResults">
|
|
<div class="SRPage">
|
|
<div id="SRIndex">
|
|
<div id="SRResults"></div>
|
|
<div class="SRStatus" id="Loading">Loading...</div>
|
|
<div class="SRStatus" id="Searching">Searching...</div>
|
|
<div class="SRStatus" id="NoMatches">No Matches</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_42bea3d40f1f1694e41a8f3166c98108.html">switch</a></li><li class="navelem"><a class="el" href="dir_68784c92a8a0520ca3b455e73fe4da44.html">applets</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="headertitle"><div class="title">error.h</div></div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<a href="error_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="comment">/**</span></div>
|
|
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="comment"> * @file error.h</span></div>
|
|
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="comment"> * @brief Wrapper for using the error LibraryApplet.</span></div>
|
|
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="comment"> * @author StuntHacks, yellows8</span></div>
|
|
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="comment"> * @copyright libnx Authors</span></div>
|
|
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="comment"> */</span></div>
|
|
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="preprocessor">#pragma once</span></div>
|
|
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="preprocessor">#include "../types.h"</span></div>
|
|
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="preprocessor">#include "../services/set.h"</span></div>
|
|
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="comment"></span> </div>
|
|
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span><span class="comment">/// Error type for ErrorCommonHeader.type.</span></div>
|
|
<div class="foldopen" id="foldopen00012" data-start="{" data-end="};">
|
|
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"><a class="line" href="error_8h.html#ab0df38968e4f03a3f1f6d6df0f31f45a"> 12</a></span><span class="comment"></span><span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
|
|
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"><a class="line" href="error_8h.html#ab0df38968e4f03a3f1f6d6df0f31f45aa72fef6d87c0d8cd75abcf50e2cce4a69"> 13</a></span> <a class="code hl_enumvalue" href="error_8h.html#ab0df38968e4f03a3f1f6d6df0f31f45aa72fef6d87c0d8cd75abcf50e2cce4a69">ErrorType_Normal</a> = 0, <span class="comment">///< Normal</span></div>
|
|
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"><a class="line" href="error_8h.html#ab0df38968e4f03a3f1f6d6df0f31f45aa0f8af7ecdd2032f1b46a7749b8c2c539"> 14</a></span> <a class="code hl_enumvalue" href="error_8h.html#ab0df38968e4f03a3f1f6d6df0f31f45aa0f8af7ecdd2032f1b46a7749b8c2c539">ErrorType_System</a> = 1, <span class="comment">///< System</span></div>
|
|
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"><a class="line" href="error_8h.html#ab0df38968e4f03a3f1f6d6df0f31f45aa028268e8a5331c7d8a3479c544450f88"> 15</a></span> <a class="code hl_enumvalue" href="error_8h.html#ab0df38968e4f03a3f1f6d6df0f31f45aa028268e8a5331c7d8a3479c544450f88">ErrorType_Application</a> = 2, <span class="comment">///< Application</span></div>
|
|
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"><a class="line" href="error_8h.html#ab0df38968e4f03a3f1f6d6df0f31f45aa2158435e09978e2bc86e40968b6b86a1"> 16</a></span> <a class="code hl_enumvalue" href="error_8h.html#ab0df38968e4f03a3f1f6d6df0f31f45aa2158435e09978e2bc86e40968b6b86a1">ErrorType_Eula</a> = 3, <span class="comment">///< EULA</span></div>
|
|
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"><a class="line" href="error_8h.html#ab0df38968e4f03a3f1f6d6df0f31f45aa9eee8ae5f454f7641bf54885250a1f39"> 17</a></span> <a class="code hl_enumvalue" href="error_8h.html#ab0df38968e4f03a3f1f6d6df0f31f45aa9eee8ae5f454f7641bf54885250a1f39">ErrorType_Pctl</a> = 4, <span class="comment">///< Parental Controls</span></div>
|
|
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"><a class="line" href="error_8h.html#ab0df38968e4f03a3f1f6d6df0f31f45aadf4e16f367817d7cc02e313502dd51b1"> 18</a></span> <a class="code hl_enumvalue" href="error_8h.html#ab0df38968e4f03a3f1f6d6df0f31f45aadf4e16f367817d7cc02e313502dd51b1">ErrorType_Record</a> = 5, <span class="comment">///< Record</span></div>
|
|
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"><a class="line" href="error_8h.html#ab0df38968e4f03a3f1f6d6df0f31f45aa22e5d4fb0e355f98336e74bbaa27334b"> 19</a></span> <a class="code hl_enumvalue" href="error_8h.html#ab0df38968e4f03a3f1f6d6df0f31f45aa22e5d4fb0e355f98336e74bbaa27334b">ErrorType_SystemUpdateEula</a> = 8, <span class="comment">///< SystemUpdateEula</span></div>
|
|
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span>} <a class="code hl_enumeration" href="error_8h.html#ab0df38968e4f03a3f1f6d6df0f31f45a">ErrorType</a>;</div>
|
|
</div>
|
|
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span><span class="comment"></span> </div>
|
|
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span><span class="comment">/// Stores error-codes which are displayed as XXXX-XXXX, low for the former and desc for the latter.</span></div>
|
|
<div class="foldopen" id="foldopen00023" data-start="{" data-end="};">
|
|
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"><a class="line" href="structErrorCode.html"> 23</a></span><span class="comment"></span><span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
|
|
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"><a class="line" href="structErrorCode.html#a31f94f1f6ed72cd83a3664dd982c79b7"> 24</a></span> <a class="code hl_typedef" href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a> <a class="code hl_variable" href="structErrorCode.html#a31f94f1f6ed72cd83a3664dd982c79b7">low</a>; <span class="comment">///< The module portion of the error, normally this should be set to module + 2000.</span></div>
|
|
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"><a class="line" href="structErrorCode.html#a699f23b8f7d9ce475f2b751cf49803e7"> 25</a></span> <a class="code hl_typedef" href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a> <a class="code hl_variable" href="structErrorCode.html#a699f23b8f7d9ce475f2b751cf49803e7">desc</a>; <span class="comment">///< The error description.</span></div>
|
|
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span>} <a class="code hl_struct" href="structErrorCode.html">ErrorCode</a>;</div>
|
|
</div>
|
|
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span><span class="comment"></span> </div>
|
|
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span><span class="comment">/// Error type for ErrorContext.type</span></div>
|
|
<div class="foldopen" id="foldopen00029" data-start="{" data-end="};">
|
|
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"><a class="line" href="error_8h.html#a682b3eccc466b94a66a98fa6b676b429"> 29</a></span><span class="comment"></span><span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
|
|
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"><a class="line" href="error_8h.html#a682b3eccc466b94a66a98fa6b676b429a2876575f31f1ffc57eafc8de29286083"> 30</a></span> <a class="code hl_enumvalue" href="error_8h.html#a682b3eccc466b94a66a98fa6b676b429a2876575f31f1ffc57eafc8de29286083">ErrorContextType_None</a> = 0, <span class="comment">///< None</span></div>
|
|
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"><a class="line" href="error_8h.html#a682b3eccc466b94a66a98fa6b676b429ae2813b514a67789f5c1844ad0c2d23f5"> 31</a></span> <a class="code hl_enumvalue" href="error_8h.html#a682b3eccc466b94a66a98fa6b676b429ae2813b514a67789f5c1844ad0c2d23f5">ErrorContextType_Http</a> = 1, <span class="comment">///< Http</span></div>
|
|
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"><a class="line" href="error_8h.html#a682b3eccc466b94a66a98fa6b676b429a5087f7a6171e2871081757a4c95c09a1"> 32</a></span> <a class="code hl_enumvalue" href="error_8h.html#a682b3eccc466b94a66a98fa6b676b429a5087f7a6171e2871081757a4c95c09a1">ErrorContextType_FileSystem</a> = 2, <span class="comment">///< FileSystem</span></div>
|
|
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"><a class="line" href="error_8h.html#a682b3eccc466b94a66a98fa6b676b429a6f6ad504be97b324b53426805d9c6df8"> 33</a></span> <a class="code hl_enumvalue" href="error_8h.html#a682b3eccc466b94a66a98fa6b676b429a6f6ad504be97b324b53426805d9c6df8">ErrorContextType_WebMediaPlayer</a> = 3, <span class="comment">///< WebMediaPlayer</span></div>
|
|
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"><a class="line" href="error_8h.html#a682b3eccc466b94a66a98fa6b676b429af35bce7f3d721b0749f624b398d04d81"> 34</a></span> <a class="code hl_enumvalue" href="error_8h.html#a682b3eccc466b94a66a98fa6b676b429af35bce7f3d721b0749f624b398d04d81">ErrorContextType_LocalContentShare</a> = 4, <span class="comment">///< LocalContentShare</span></div>
|
|
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span>} <a class="code hl_enumeration" href="error_8h.html#a682b3eccc466b94a66a98fa6b676b429">ErrorContextType</a>;</div>
|
|
</div>
|
|
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span><span class="comment"></span> </div>
|
|
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span><span class="comment">/// Error context.</span></div>
|
|
<div class="foldopen" id="foldopen00038" data-start="{" data-end="};">
|
|
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"><a class="line" href="structErrorContext.html"> 38</a></span><span class="comment"></span><span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
|
|
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"><a class="line" href="structErrorContext.html#a9c5d78743e08295520ac3529c38ff724"> 39</a></span> <a class="code hl_typedef" href="types_8h.html#a92c50087ca0e64fa93fc59402c55f8ca">u8</a> <a class="code hl_variable" href="structErrorContext.html#a9c5d78743e08295520ac3529c38ff724">type</a>; <span class="comment">///< Type, see \ref ErrorContextType.</span></div>
|
|
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"><a class="line" href="structErrorContext.html#af9e982f90b311aad7d365504453eecc4"> 40</a></span> <a class="code hl_typedef" href="types_8h.html#a92c50087ca0e64fa93fc59402c55f8ca">u8</a> pad[7]; <span class="comment">///< Padding</span></div>
|
|
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"><a class="line" href="structErrorContext.html#a191b027106067800e999a62698a788d1"> 41</a></span> <a class="code hl_typedef" href="types_8h.html#a92c50087ca0e64fa93fc59402c55f8ca">u8</a> data[0x1f4]; <span class="comment">///< Data</span></div>
|
|
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"><a class="line" href="structErrorContext.html#a01fbb4b2ad0905c4aa3b9df913904def"> 42</a></span> <a class="code hl_typedef" href="types_8h.html#ad1be2721625a17f1be47fac918032afe">Result</a> <a class="code hl_variable" href="structErrorContext.html#a01fbb4b2ad0905c4aa3b9df913904def">res</a>; <span class="comment">///< Result</span></div>
|
|
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span>} <a class="code hl_struct" href="structErrorContext.html">ErrorContext</a>;</div>
|
|
</div>
|
|
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span><span class="comment"></span> </div>
|
|
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span><span class="comment">/// Common header for the start of the arg storage.</span></div>
|
|
<div class="foldopen" id="foldopen00046" data-start="{" data-end="};">
|
|
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"><a class="line" href="structErrorCommonHeader.html"> 46</a></span><span class="comment"></span><span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
|
|
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"><a class="line" href="structErrorCommonHeader.html#a5b79c84683eeb3c06c7940bc343d71b1"> 47</a></span> <a class="code hl_typedef" href="types_8h.html#a92c50087ca0e64fa93fc59402c55f8ca">u8</a> <a class="code hl_variable" href="structErrorCommonHeader.html#a5b79c84683eeb3c06c7940bc343d71b1">type</a>; <span class="comment">///< Type, see \ref ErrorType.</span></div>
|
|
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"><a class="line" href="structErrorCommonHeader.html#a5e49362689dcc04f70880265990169f0"> 48</a></span> <a class="code hl_typedef" href="types_8h.html#a92c50087ca0e64fa93fc59402c55f8ca">u8</a> <a class="code hl_variable" href="structErrorCommonHeader.html#a5e49362689dcc04f70880265990169f0">jumpFlag</a>; <span class="comment">///< When clear, this indicates WithoutJump.</span></div>
|
|
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"><a class="line" href="structErrorCommonHeader.html#a2225cb63bf9982c4e121aa648a976078"> 49</a></span> <a class="code hl_typedef" href="types_8h.html#a92c50087ca0e64fa93fc59402c55f8ca">u8</a> unk_x2[3]; <span class="comment">///< Unknown</span></div>
|
|
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"><a class="line" href="structErrorCommonHeader.html#a94f80254c5ce0afc0efad7aba38d8b9c"> 50</a></span> <a class="code hl_typedef" href="types_8h.html#a92c50087ca0e64fa93fc59402c55f8ca">u8</a> <a class="code hl_variable" href="structErrorCommonHeader.html#a94f80254c5ce0afc0efad7aba38d8b9c">contextFlag</a>; <span class="comment">///< When set with ::ErrorType_Normal, indicates that an additional storage is pushed for \ref ErrorResultBacktrace. [4.0.0+] Otherwise, when set indicates that an additional storage is pushed for \ref ErrorContext.</span></div>
|
|
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"><a class="line" href="structErrorCommonHeader.html#a19b2ce216962f3ca41606984d75e8631"> 51</a></span> <a class="code hl_typedef" href="types_8h.html#a92c50087ca0e64fa93fc59402c55f8ca">u8</a> <a class="code hl_variable" href="structErrorCommonHeader.html#a19b2ce216962f3ca41606984d75e8631">resultFlag</a>; <span class="comment">///< ErrorCommonArg: When clear, errorCode is used, otherwise the applet generates the error-code from res.</span></div>
|
|
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"><a class="line" href="structErrorCommonHeader.html#aa477e3b491f257dacaeca465b7eae417"> 52</a></span> <a class="code hl_typedef" href="types_8h.html#a92c50087ca0e64fa93fc59402c55f8ca">u8</a> <a class="code hl_variable" href="structErrorCommonHeader.html#aa477e3b491f257dacaeca465b7eae417">contextFlag2</a>; <span class="comment">///< Similar to contextFlag except for ErrorCommonArg, indicating \ref ErrorContext is used.</span></div>
|
|
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span>} <a class="code hl_struct" href="structErrorCommonHeader.html">ErrorCommonHeader</a>;</div>
|
|
</div>
|
|
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span><span class="comment"></span> </div>
|
|
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span><span class="comment">/// Common error arg data.</span></div>
|
|
<div class="foldopen" id="foldopen00056" data-start="{" data-end="};">
|
|
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"><a class="line" href="structErrorCommonArg.html"> 56</a></span><span class="comment"></span><span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
|
|
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"><a class="line" href="structErrorCommonArg.html#a6a1991377dbb4ad6662e5a17c69d005d"> 57</a></span> <a class="code hl_struct" href="structErrorCommonHeader.html">ErrorCommonHeader</a> <a class="code hl_variable" href="structErrorCommonArg.html#a6a1991377dbb4ad6662e5a17c69d005d">hdr</a>; <span class="comment">///< Common header.</span></div>
|
|
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"><a class="line" href="structErrorCommonArg.html#a0a45656c85f4874f041e73e7181360a1"> 58</a></span> <a class="code hl_struct" href="structErrorCode.html">ErrorCode</a> <a class="code hl_variable" href="structErrorCommonArg.html#a0a45656c85f4874f041e73e7181360a1">errorCode</a>; <span class="comment">///< \ref ErrorCode</span></div>
|
|
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"><a class="line" href="structErrorCommonArg.html#ae98ee1e208c628a596a8618b57769f88"> 59</a></span> <a class="code hl_typedef" href="types_8h.html#ad1be2721625a17f1be47fac918032afe">Result</a> <a class="code hl_variable" href="structErrorCommonArg.html#ae98ee1e208c628a596a8618b57769f88">res</a>; <span class="comment">///< Result</span></div>
|
|
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span>} <a class="code hl_struct" href="structErrorCommonArg.html">ErrorCommonArg</a>;</div>
|
|
</div>
|
|
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span><span class="comment"></span> </div>
|
|
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span><span class="comment">/// Error arg data for certain errors with module PCTL.</span></div>
|
|
<div class="foldopen" id="foldopen00063" data-start="{" data-end="};">
|
|
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"><a class="line" href="structErrorPctlArg.html"> 63</a></span><span class="comment"></span><span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
|
|
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"><a class="line" href="structErrorPctlArg.html#a88bc20c11922a540c41c3f9a4926df6a"> 64</a></span> <a class="code hl_struct" href="structErrorCommonHeader.html">ErrorCommonHeader</a> <a class="code hl_variable" href="structErrorPctlArg.html#a88bc20c11922a540c41c3f9a4926df6a">hdr</a>; <span class="comment">///< Common header.</span></div>
|
|
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"><a class="line" href="structErrorPctlArg.html#a27a9c0268b6dd117baa4528b911859a7"> 65</a></span> <a class="code hl_typedef" href="types_8h.html#ad1be2721625a17f1be47fac918032afe">Result</a> <a class="code hl_variable" href="structErrorPctlArg.html#a27a9c0268b6dd117baa4528b911859a7">res</a>; <span class="comment">///< Result</span></div>
|
|
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span>} <a class="code hl_struct" href="structErrorPctlArg.html">ErrorPctlArg</a>;</div>
|
|
</div>
|
|
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span><span class="comment"></span> </div>
|
|
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span><span class="comment">/// ResultBacktrace</span></div>
|
|
<div class="foldopen" id="foldopen00069" data-start="{" data-end="};">
|
|
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"><a class="line" href="structErrorResultBacktrace.html"> 69</a></span><span class="comment"></span><span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
|
|
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"><a class="line" href="structErrorResultBacktrace.html#ad3b1fc14172bb03774349911669ada3b"> 70</a></span> <a class="code hl_typedef" href="types_8h.html#ae9b1af5c037e57a98884758875d3a7c4">s32</a> <a class="code hl_variable" href="structErrorResultBacktrace.html#ad3b1fc14172bb03774349911669ada3b">count</a>; <span class="comment">///< Total entries in the backtrace array.</span></div>
|
|
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"><a class="line" href="structErrorResultBacktrace.html#a4f45d72ca141316a55b8554eb23e168a"> 71</a></span> <a class="code hl_typedef" href="types_8h.html#ad1be2721625a17f1be47fac918032afe">Result</a> backtrace[0x20]; <span class="comment">///< Result backtrace.</span></div>
|
|
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span>} <a class="code hl_struct" href="structErrorResultBacktrace.html">ErrorResultBacktrace</a>;</div>
|
|
</div>
|
|
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span><span class="comment"></span> </div>
|
|
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span><span class="comment">/// Error arg data for EULA.</span></div>
|
|
<div class="foldopen" id="foldopen00075" data-start="{" data-end="};">
|
|
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"><a class="line" href="structErrorEulaArg.html"> 75</a></span><span class="comment"></span><span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
|
|
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"><a class="line" href="structErrorEulaArg.html#a942fd142e24ed04b1eda94aa90c24f1f"> 76</a></span> <a class="code hl_struct" href="structErrorCommonHeader.html">ErrorCommonHeader</a> <a class="code hl_variable" href="structErrorEulaArg.html#a942fd142e24ed04b1eda94aa90c24f1f">hdr</a>; <span class="comment">///< Common header.</span></div>
|
|
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"><a class="line" href="structErrorEulaArg.html#ad3785de265e48b13a44279a285cc144a"> 77</a></span> <a class="code hl_enumeration" href="set_8h.html#a17a796eb324ad48d8198b68092cdbb82">SetRegion</a> <a class="code hl_variable" href="structErrorEulaArg.html#ad3785de265e48b13a44279a285cc144a">regionCode</a>; <span class="comment">///< \ref SetRegion</span></div>
|
|
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span>} <a class="code hl_struct" href="structErrorEulaArg.html">ErrorEulaArg</a>;</div>
|
|
</div>
|
|
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span><span class="comment"></span> </div>
|
|
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span><span class="comment">/// Additional input storage data for \ref errorSystemUpdateEulaShow.</span></div>
|
|
<div class="foldopen" id="foldopen00081" data-start="{" data-end="};">
|
|
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"><a class="line" href="structErrorEulaData.html"> 81</a></span><span class="comment"></span><span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
|
|
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"><a class="line" href="structErrorEulaData.html#aa2a4a5078877c45f2e7c0fdef91b2e4d"> 82</a></span> <a class="code hl_typedef" href="types_8h.html#a92c50087ca0e64fa93fc59402c55f8ca">u8</a> data[0x20000]; <span class="comment">///< data</span></div>
|
|
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span>} <a class="code hl_struct" href="structErrorEulaData.html">ErrorEulaData</a>;</div>
|
|
</div>
|
|
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span><span class="comment"></span> </div>
|
|
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span><span class="comment">/// Error arg data for Record.</span></div>
|
|
<div class="foldopen" id="foldopen00086" data-start="{" data-end="};">
|
|
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"><a class="line" href="structErrorRecordArg.html"> 86</a></span><span class="comment"></span><span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
|
|
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"><a class="line" href="structErrorRecordArg.html#a8fd88cbe6b6181e10e0277dfbf96538a"> 87</a></span> <a class="code hl_struct" href="structErrorCommonHeader.html">ErrorCommonHeader</a> <a class="code hl_variable" href="structErrorRecordArg.html#a8fd88cbe6b6181e10e0277dfbf96538a">hdr</a>; <span class="comment">///< Common header.</span></div>
|
|
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"><a class="line" href="structErrorRecordArg.html#af89999deaa01b2b18aa823615d8f023b"> 88</a></span> <a class="code hl_struct" href="structErrorCode.html">ErrorCode</a> <a class="code hl_variable" href="structErrorRecordArg.html#af89999deaa01b2b18aa823615d8f023b">errorCode</a>; <span class="comment">///< \ref ErrorCode</span></div>
|
|
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"><a class="line" href="structErrorRecordArg.html#a52e2b69521db73e4d81118abf6f9c201"> 89</a></span> <a class="code hl_typedef" href="types_8h.html#a3f7e2bcbb0b4c338f3c4f6c937cd4234">u64</a> <a class="code hl_variable" href="structErrorRecordArg.html#a52e2b69521db73e4d81118abf6f9c201">timestamp</a>; <span class="comment">///< POSIX timestamp.</span></div>
|
|
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"> 90</span>} <a class="code hl_struct" href="structErrorRecordArg.html">ErrorRecordArg</a>;</div>
|
|
</div>
|
|
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span><span class="comment"></span> </div>
|
|
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</span><span class="comment">/// SystemErrorArg</span></div>
|
|
<div class="foldopen" id="foldopen00093" data-start="{" data-end="};">
|
|
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"><a class="line" href="structErrorSystemArg.html"> 93</a></span><span class="comment"></span><span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
|
|
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"><a class="line" href="structErrorSystemArg.html#acef2572a2b38a4c8f476961f4080d5dd"> 94</a></span> <a class="code hl_struct" href="structErrorCommonHeader.html">ErrorCommonHeader</a> <a class="code hl_variable" href="structErrorSystemArg.html#acef2572a2b38a4c8f476961f4080d5dd">hdr</a>; <span class="comment">///< Common header.</span></div>
|
|
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"><a class="line" href="structErrorSystemArg.html#aedc14b1502cc86702ffe59f2b23b7b6c"> 95</a></span> <a class="code hl_struct" href="structErrorCode.html">ErrorCode</a> <a class="code hl_variable" href="structErrorSystemArg.html#aedc14b1502cc86702ffe59f2b23b7b6c">errorCode</a>; <span class="comment">///< \ref ErrorCode</span></div>
|
|
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"><a class="line" href="structErrorSystemArg.html#af156c5355af833d7577aa2d8595f42e0"> 96</a></span> <a class="code hl_typedef" href="types_8h.html#a3f7e2bcbb0b4c338f3c4f6c937cd4234">u64</a> <a class="code hl_variable" href="structErrorSystemArg.html#af156c5355af833d7577aa2d8595f42e0">languageCode</a>; <span class="comment">///< See set.h.</span></div>
|
|
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"><a class="line" href="structErrorSystemArg.html#a33867890014bf4f7a8821b2852c7bfd2"> 97</a></span> <span class="keywordtype">char</span> dialogMessage[0x800]; <span class="comment">///< UTF-8 Dialog message.</span></div>
|
|
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"><a class="line" href="structErrorSystemArg.html#a829bb78afabbd2914f98f538ee903cf0"> 98</a></span> <span class="keywordtype">char</span> fullscreenMessage[0x800]; <span class="comment">///< UTF-8 Fullscreen message (displayed when the user clicks on "Details").</span></div>
|
|
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span>} <a class="code hl_struct" href="structErrorSystemArg.html">ErrorSystemArg</a>;</div>
|
|
</div>
|
|
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span><span class="comment"></span> </div>
|
|
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"> 101</span><span class="comment">/// Error system config.</span></div>
|
|
<div class="foldopen" id="foldopen00102" data-start="{" data-end="};">
|
|
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"><a class="line" href="structErrorSystemConfig.html"> 102</a></span><span class="comment"></span><span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
|
|
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"><a class="line" href="structErrorSystemConfig.html#a3df470932e3c165e12e271aa093a239b"> 103</a></span> <a class="code hl_struct" href="structErrorSystemArg.html">ErrorSystemArg</a> <a class="code hl_variable" href="structErrorSystemConfig.html#a3df470932e3c165e12e271aa093a239b">arg</a>; <span class="comment">///< Arg data.</span></div>
|
|
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"><a class="line" href="structErrorSystemConfig.html#a0edbd1215c5a3c1f0820af893f6ce68a"> 104</a></span> <a class="code hl_struct" href="structErrorContext.html">ErrorContext</a> <a class="code hl_variable" href="structErrorSystemConfig.html#a0edbd1215c5a3c1f0820af893f6ce68a">ctx</a>; <span class="comment">///< Optional error context.</span></div>
|
|
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span>} <a class="code hl_struct" href="structErrorSystemConfig.html">ErrorSystemConfig</a>;</div>
|
|
</div>
|
|
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</span><span class="comment"></span> </div>
|
|
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span><span class="comment">/// ApplicationErrorArg</span></div>
|
|
<div class="foldopen" id="foldopen00108" data-start="{" data-end="};">
|
|
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"><a class="line" href="structErrorApplicationArg.html"> 108</a></span><span class="comment"></span><span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
|
|
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"><a class="line" href="structErrorApplicationArg.html#a5cbbff82304c6624be8fe31a38870ed8"> 109</a></span> <a class="code hl_struct" href="structErrorCommonHeader.html">ErrorCommonHeader</a> <a class="code hl_variable" href="structErrorApplicationArg.html#a5cbbff82304c6624be8fe31a38870ed8">hdr</a>; <span class="comment">///< Common header.</span></div>
|
|
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"><a class="line" href="structErrorApplicationArg.html#ab8ca5d0863ddb47380897a8e5d3dfd9e"> 110</a></span> <a class="code hl_typedef" href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a> <a class="code hl_variable" href="structErrorApplicationArg.html#ab8ca5d0863ddb47380897a8e5d3dfd9e">errorNumber</a>; <span class="comment">///< Raw decimal error number which is displayed in the dialog.</span></div>
|
|
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"><a class="line" href="structErrorApplicationArg.html#a6320e9a4b22becb99cdf27c279fc077f"> 111</a></span> <a class="code hl_typedef" href="types_8h.html#a3f7e2bcbb0b4c338f3c4f6c937cd4234">u64</a> <a class="code hl_variable" href="structErrorApplicationArg.html#a6320e9a4b22becb99cdf27c279fc077f">languageCode</a>; <span class="comment">///< See set.h.</span></div>
|
|
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"><a class="line" href="structErrorApplicationArg.html#a2f460434b5e4d1b4a0cbf1bf8298504f"> 112</a></span> <span class="keywordtype">char</span> dialogMessage[0x800]; <span class="comment">///< UTF-8 Dialog message.</span></div>
|
|
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"><a class="line" href="structErrorApplicationArg.html#a3c643a21a12d0c71b7412ebe973178a1"> 113</a></span> <span class="keywordtype">char</span> fullscreenMessage[0x800]; <span class="comment">///< UTF-8 Fullscreen message (displayed when the user clicks on "Details").</span></div>
|
|
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"> 114</span>} <a class="code hl_define" href="types_8h.html#ab6bd3fc8e13d24a2612da07835dda696">NX_PACKED</a> <a class="code hl_struct" href="structErrorApplicationArg.html">ErrorApplicationArg</a>;</div>
|
|
</div>
|
|
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"> 115</span><span class="comment"></span> </div>
|
|
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"> 116</span><span class="comment">/// Error application config.</span></div>
|
|
<div class="foldopen" id="foldopen00117" data-start="{" data-end="};">
|
|
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno"><a class="line" href="structErrorApplicationConfig.html"> 117</a></span><span class="comment"></span><span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
|
|
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"><a class="line" href="structErrorApplicationConfig.html#a400141f26183aa653b7eae79af782740"> 118</a></span> <a class="code hl_struct" href="structErrorApplicationArg.html">ErrorApplicationArg</a> <a class="code hl_variable" href="structErrorApplicationConfig.html#a400141f26183aa653b7eae79af782740">arg</a>; <span class="comment">///< Arg data.</span></div>
|
|
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"> 119</span>} <a class="code hl_struct" href="structErrorApplicationConfig.html">ErrorApplicationConfig</a>;</div>
|
|
</div>
|
|
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"> 120</span><span class="comment"></span> </div>
|
|
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"> 121</span><span class="comment">/**</span></div>
|
|
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"> 122</span><span class="comment"> * @brief Creates an \ref ErrorCode.</span></div>
|
|
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"> 123</span><span class="comment"> * @param low The module portion of the error, normally this should be set to module + 2000.</span></div>
|
|
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"> 124</span><span class="comment"> * @param desc The error description.</span></div>
|
|
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"> 125</span><span class="comment"> */</span></div>
|
|
<div class="foldopen" id="foldopen00126" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"><a class="line" href="error_8h.html#a964c4bb8ea6d8749ab789ef91a3742ad"> 126</a></span><span class="keyword">static</span> <span class="keyword">inline</span> <a class="code hl_struct" href="structErrorCode.html">ErrorCode</a> <a class="code hl_function" href="error_8h.html#a964c4bb8ea6d8749ab789ef91a3742ad">errorCodeCreate</a>(<a class="code hl_typedef" href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a> low, <a class="code hl_typedef" href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a> desc) {</div>
|
|
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"> 127</span> <span class="keywordflow">return</span> (<a class="code hl_struct" href="structErrorCode.html">ErrorCode</a>){low, desc};</div>
|
|
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"> 128</span>}</div>
|
|
</div>
|
|
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"> 129</span><span class="comment"></span> </div>
|
|
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"> 130</span><span class="comment">/**</span></div>
|
|
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno"> 131</span><span class="comment"> * @brief Creates an \ref ErrorCode with the input Result. Wrapper for \ref errorCodeCreate.</span></div>
|
|
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"> 132</span><span class="comment"> * @param res Input Result.</span></div>
|
|
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno"> 133</span><span class="comment"> */</span></div>
|
|
<div class="foldopen" id="foldopen00134" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno"><a class="line" href="error_8h.html#af2c23c4b00a9f35788140ef895144a79"> 134</a></span><span class="keyword">static</span> <span class="keyword">inline</span> <a class="code hl_struct" href="structErrorCode.html">ErrorCode</a> <a class="code hl_function" href="error_8h.html#af2c23c4b00a9f35788140ef895144a79">errorCodeCreateResult</a>(<a class="code hl_typedef" href="types_8h.html#ad1be2721625a17f1be47fac918032afe">Result</a> res) {</div>
|
|
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno"> 135</span> <span class="keywordflow">return</span> <a class="code hl_function" href="error_8h.html#a964c4bb8ea6d8749ab789ef91a3742ad">errorCodeCreate</a>(2000 + <a class="code hl_define" href="result_8h.html#a5b0e010ac431ca11f51ae23fdf4d7af2">R_MODULE</a>(res), <a class="code hl_define" href="result_8h.html#a92f6ce12bd0312ba8f5252ce35ac680c">R_DESCRIPTION</a>(res));</div>
|
|
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno"> 136</span>}</div>
|
|
</div>
|
|
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno"> 137</span><span class="comment"></span> </div>
|
|
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"> 138</span><span class="comment">/**</span></div>
|
|
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno"> 139</span><span class="comment"> * @brief Creates an invalid \ref ErrorCode.</span></div>
|
|
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno"> 140</span><span class="comment"> */</span></div>
|
|
<div class="foldopen" id="foldopen00141" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno"><a class="line" href="error_8h.html#aa4045dfc5f586ed0b8faedfd490b30f5"> 141</a></span><span class="keyword">static</span> <span class="keyword">inline</span> <a class="code hl_struct" href="structErrorCode.html">ErrorCode</a> <a class="code hl_function" href="error_8h.html#aa4045dfc5f586ed0b8faedfd490b30f5">errorCodeCreateInvalid</a>(<span class="keywordtype">void</span>) {</div>
|
|
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno"> 142</span> <span class="keywordflow">return</span> (<a class="code hl_struct" href="structErrorCode.html">ErrorCode</a>){0};</div>
|
|
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno"> 143</span>}</div>
|
|
</div>
|
|
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno"> 144</span><span class="comment"></span> </div>
|
|
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno"> 145</span><span class="comment">/**</span></div>
|
|
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno"> 146</span><span class="comment"> * @brief Checks whether the input ErrorCode is valid.</span></div>
|
|
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno"> 147</span><span class="comment"> * @param errorCode \ref ErrorCode</span></div>
|
|
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno"> 148</span><span class="comment"> */</span></div>
|
|
<div class="foldopen" id="foldopen00149" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno"><a class="line" href="error_8h.html#a646fec487dc30e5e2d0da5eae905cda0"> 149</a></span><span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="error_8h.html#a646fec487dc30e5e2d0da5eae905cda0">errorCodeIsValid</a>(<a class="code hl_struct" href="structErrorCode.html">ErrorCode</a> errorCode) {</div>
|
|
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno"> 150</span> <span class="keywordflow">return</span> errorCode.<a class="code hl_variable" href="structErrorCode.html#a31f94f1f6ed72cd83a3664dd982c79b7">low</a>!=0;</div>
|
|
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno"> 151</span>}</div>
|
|
</div>
|
|
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"> 152</span><span class="comment"></span> </div>
|
|
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno"> 153</span><span class="comment">/**</span></div>
|
|
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno"> 154</span><span class="comment"> * @brief Launches the applet for displaying the specified Result.</span></div>
|
|
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno"> 155</span><span class="comment"> * @param res Result</span></div>
|
|
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"> 156</span><span class="comment"> * @param jumpFlag Jump flag, normally this is true.</span></div>
|
|
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno"> 157</span><span class="comment"> * @param ctx Optional \ref ErrorContext, can be NULL. Unused when jumpFlag=false. Ignored on pre-4.0.0, since it's only available for [4.0.0+].</span></div>
|
|
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno"> 158</span><span class="comment"> * @note Sets the following fields: jumpFlag and contextFlag2. Uses ::ErrorType_Normal normally.</span></div>
|
|
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno"> 159</span><span class="comment"> * @note For module=PCTL errors with desc 100-119 this sets uses ::ErrorType_Pctl, in which case the applet will display the following special dialog: "This software is restricted by Parental Controls".</span></div>
|
|
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno"> 160</span><span class="comment"> * @note If the input Result is 0xC8A2, the applet will display a special dialog regarding the current application requiring a software update, with buttons "Later" and "Restart".</span></div>
|
|
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno"> 161</span><span class="comment"> * @note [3.0.0+] If the input Result is 0xCAA2, the applet will display a special dialog related to DLC version.</span></div>
|
|
<div class="line"><a id="l00162" name="l00162"></a><span class="lineno"> 162</span><span class="comment"> * @warning This applet creates an error report that is logged in the system, when not handling the above special dialogs. Proceed at your own risk!</span></div>
|
|
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno"> 163</span><span class="comment"> */</span></div>
|
|
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno"><a class="line" href="error_8h.html#a74d176f2379e486ddfbe442e09b40928"> 164</a></span><a class="code hl_typedef" href="types_8h.html#ad1be2721625a17f1be47fac918032afe">Result</a> <a class="code hl_function" href="error_8h.html#a74d176f2379e486ddfbe442e09b40928">errorResultShow</a>(<a class="code hl_typedef" href="types_8h.html#ad1be2721625a17f1be47fac918032afe">Result</a> res, <span class="keywordtype">bool</span> jumpFlag, <span class="keyword">const</span> <a class="code hl_struct" href="structErrorContext.html">ErrorContext</a>* ctx);</div>
|
|
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno"> 165</span><span class="comment"></span> </div>
|
|
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno"> 166</span><span class="comment">/**</span></div>
|
|
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno"> 167</span><span class="comment"> * @brief Launches the applet for displaying the specified ErrorCode.</span></div>
|
|
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno"> 168</span><span class="comment"> * @param errorCode \ref ErrorCode</span></div>
|
|
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno"> 169</span><span class="comment"> * @param jumpFlag Jump flag, normally this is true.</span></div>
|
|
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno"> 170</span><span class="comment"> * @param ctx Optional \ref ErrorContext, can be NULL. Unused when jumpFlag=false. Ignored on pre-4.0.0, since it's only available for [4.0.0+].</span></div>
|
|
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno"> 171</span><span class="comment"> * @note Sets the following fields: jumpFlag and contextFlag2. resultFlag=1. Uses ::ErrorType_Normal.</span></div>
|
|
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno"> 172</span><span class="comment"> * @warning This applet creates an error report that is logged in the system. Proceed at your own risk!</span></div>
|
|
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno"> 173</span><span class="comment"> */</span></div>
|
|
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno"><a class="line" href="error_8h.html#a722fe3211458e8800146152ac038e8d4"> 174</a></span><a class="code hl_typedef" href="types_8h.html#ad1be2721625a17f1be47fac918032afe">Result</a> <a class="code hl_function" href="error_8h.html#a722fe3211458e8800146152ac038e8d4">errorCodeShow</a>(<a class="code hl_struct" href="structErrorCode.html">ErrorCode</a> errorCode, <span class="keywordtype">bool</span> jumpFlag, <span class="keyword">const</span> <a class="code hl_struct" href="structErrorContext.html">ErrorContext</a>* ctx);</div>
|
|
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno"> 175</span><span class="comment"></span> </div>
|
|
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno"> 176</span><span class="comment">/**</span></div>
|
|
<div class="line"><a id="l00177" name="l00177"></a><span class="lineno"> 177</span><span class="comment"> * @brief Creates an ErrorResultBacktrace struct.</span></div>
|
|
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno"> 178</span><span class="comment"> * @param backtrace \ref ErrorResultBacktrace struct.</span></div>
|
|
<div class="line"><a id="l00179" name="l00179"></a><span class="lineno"> 179</span><span class="comment"> * @param count Total number of entries.</span></div>
|
|
<div class="line"><a id="l00180" name="l00180"></a><span class="lineno"> 180</span><span class="comment"> * @param entries Input array of Result.</span></div>
|
|
<div class="line"><a id="l00181" name="l00181"></a><span class="lineno"> 181</span><span class="comment"> */</span></div>
|
|
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno"><a class="line" href="error_8h.html#a16b8b11d31f635b3f28b35b5b3f51622"> 182</a></span><a class="code hl_typedef" href="types_8h.html#ad1be2721625a17f1be47fac918032afe">Result</a> <a class="code hl_function" href="error_8h.html#a16b8b11d31f635b3f28b35b5b3f51622">errorResultBacktraceCreate</a>(<a class="code hl_struct" href="structErrorResultBacktrace.html">ErrorResultBacktrace</a>* backtrace, <a class="code hl_typedef" href="types_8h.html#ae9b1af5c037e57a98884758875d3a7c4">s32</a> count, <span class="keyword">const</span> <a class="code hl_typedef" href="types_8h.html#ad1be2721625a17f1be47fac918032afe">Result</a>* entries);</div>
|
|
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno"> 183</span><span class="comment"></span> </div>
|
|
<div class="line"><a id="l00184" name="l00184"></a><span class="lineno"> 184</span><span class="comment">/**</span></div>
|
|
<div class="line"><a id="l00185" name="l00185"></a><span class="lineno"> 185</span><span class="comment"> * @brief Launches the applet for \ref ErrorResultBacktrace.</span></div>
|
|
<div class="line"><a id="l00186" name="l00186"></a><span class="lineno"> 186</span><span class="comment"> * @param backtrace ErrorResultBacktrace struct.</span></div>
|
|
<div class="line"><a id="l00187" name="l00187"></a><span class="lineno"> 187</span><span class="comment"> * @param res Result</span></div>
|
|
<div class="line"><a id="l00188" name="l00188"></a><span class="lineno"> 188</span><span class="comment"> * @note Sets the following fields: jumpFlag=1, contextFlag=1, and uses ::ErrorType_Normal.</span></div>
|
|
<div class="line"><a id="l00189" name="l00189"></a><span class="lineno"> 189</span><span class="comment"> * @warning This applet creates an error report that is logged in the system. Proceed at your own risk!</span></div>
|
|
<div class="line"><a id="l00190" name="l00190"></a><span class="lineno"> 190</span><span class="comment"> */</span></div>
|
|
<div class="line"><a id="l00191" name="l00191"></a><span class="lineno"><a class="line" href="error_8h.html#a10fa5ed39c9af71d19a9e440a43a074d"> 191</a></span><a class="code hl_typedef" href="types_8h.html#ad1be2721625a17f1be47fac918032afe">Result</a> <a class="code hl_function" href="error_8h.html#a10fa5ed39c9af71d19a9e440a43a074d">errorResultBacktraceShow</a>(<a class="code hl_typedef" href="types_8h.html#ad1be2721625a17f1be47fac918032afe">Result</a> res, <span class="keyword">const</span> <a class="code hl_struct" href="structErrorResultBacktrace.html">ErrorResultBacktrace</a>* backtrace);</div>
|
|
<div class="line"><a id="l00192" name="l00192"></a><span class="lineno"> 192</span><span class="comment"></span> </div>
|
|
<div class="line"><a id="l00193" name="l00193"></a><span class="lineno"> 193</span><span class="comment">/**</span></div>
|
|
<div class="line"><a id="l00194" name="l00194"></a><span class="lineno"> 194</span><span class="comment"> * @brief Launches the applet for displaying the EULA.</span></div>
|
|
<div class="line"><a id="l00195" name="l00195"></a><span class="lineno"> 195</span><span class="comment"> * @param RegionCode \ref SetRegion</span></div>
|
|
<div class="line"><a id="l00196" name="l00196"></a><span class="lineno"> 196</span><span class="comment"> * @note Sets the following fields: jumpFlag=1, regionCode, and uses ::ErrorType_Eula.</span></div>
|
|
<div class="line"><a id="l00197" name="l00197"></a><span class="lineno"> 197</span><span class="comment"> */</span></div>
|
|
<div class="line"><a id="l00198" name="l00198"></a><span class="lineno"><a class="line" href="error_8h.html#a6694b1abaa7165bb96405582e285b53a"> 198</a></span><a class="code hl_typedef" href="types_8h.html#ad1be2721625a17f1be47fac918032afe">Result</a> <a class="code hl_function" href="error_8h.html#a6694b1abaa7165bb96405582e285b53a">errorEulaShow</a>(<a class="code hl_enumeration" href="set_8h.html#a17a796eb324ad48d8198b68092cdbb82">SetRegion</a> RegionCode);</div>
|
|
<div class="line"><a id="l00199" name="l00199"></a><span class="lineno"> 199</span><span class="comment"></span> </div>
|
|
<div class="line"><a id="l00200" name="l00200"></a><span class="lineno"> 200</span><span class="comment">/**</span></div>
|
|
<div class="line"><a id="l00201" name="l00201"></a><span class="lineno"> 201</span><span class="comment"> * @brief Launches the applet for displaying the system-update EULA.</span></div>
|
|
<div class="line"><a id="l00202" name="l00202"></a><span class="lineno"> 202</span><span class="comment"> * @param RegionCode \ref SetRegion</span></div>
|
|
<div class="line"><a id="l00203" name="l00203"></a><span class="lineno"> 203</span><span class="comment"> * @param eula EULA data. Address must be 0x1000-byte aligned.</span></div>
|
|
<div class="line"><a id="l00204" name="l00204"></a><span class="lineno"> 204</span><span class="comment"> * @note Sets the following fields: jumpFlag=1, regionCode, and uses ::ErrorType_SystemUpdateEula.</span></div>
|
|
<div class="line"><a id="l00205" name="l00205"></a><span class="lineno"> 205</span><span class="comment"> */</span></div>
|
|
<div class="line"><a id="l00206" name="l00206"></a><span class="lineno"><a class="line" href="error_8h.html#a803da5cc5f6e18594bb5f6cdece500c9"> 206</a></span><a class="code hl_typedef" href="types_8h.html#ad1be2721625a17f1be47fac918032afe">Result</a> <a class="code hl_function" href="error_8h.html#a803da5cc5f6e18594bb5f6cdece500c9">errorSystemUpdateEulaShow</a>(<a class="code hl_enumeration" href="set_8h.html#a17a796eb324ad48d8198b68092cdbb82">SetRegion</a> RegionCode, <span class="keyword">const</span> <a class="code hl_struct" href="structErrorEulaData.html">ErrorEulaData</a>* eula);</div>
|
|
<div class="line"><a id="l00207" name="l00207"></a><span class="lineno"> 207</span><span class="comment"></span> </div>
|
|
<div class="line"><a id="l00208" name="l00208"></a><span class="lineno"> 208</span><span class="comment">/**</span></div>
|
|
<div class="line"><a id="l00209" name="l00209"></a><span class="lineno"> 209</span><span class="comment"> * @brief Launches the applet for displaying an error full-screen, using the specified ErrorCode and timestamp.</span></div>
|
|
<div class="line"><a id="l00210" name="l00210"></a><span class="lineno"> 210</span><span class="comment"> * @param errorCode \ref ErrorCode</span></div>
|
|
<div class="line"><a id="l00211" name="l00211"></a><span class="lineno"> 211</span><span class="comment"> * @param timestamp POSIX timestamp.</span></div>
|
|
<div class="line"><a id="l00212" name="l00212"></a><span class="lineno"> 212</span><span class="comment"> * @note Sets the following fields: jumpFlag=1, errorCode, timestamp, and uses ::ErrorType_Record.</span></div>
|
|
<div class="line"><a id="l00213" name="l00213"></a><span class="lineno"> 213</span><span class="comment"> * @note The applet does not log an error report for this. error*RecordShow is used by qlaunch for displaying previously logged error reports.</span></div>
|
|
<div class="line"><a id="l00214" name="l00214"></a><span class="lineno"> 214</span><span class="comment"> */</span></div>
|
|
<div class="line"><a id="l00215" name="l00215"></a><span class="lineno"><a class="line" href="error_8h.html#a2a516ee57a64485eff58114266a6d33c"> 215</a></span><a class="code hl_typedef" href="types_8h.html#ad1be2721625a17f1be47fac918032afe">Result</a> <a class="code hl_function" href="error_8h.html#a2a516ee57a64485eff58114266a6d33c">errorCodeRecordShow</a>(<a class="code hl_struct" href="structErrorCode.html">ErrorCode</a> errorCode, <a class="code hl_typedef" href="types_8h.html#a3f7e2bcbb0b4c338f3c4f6c937cd4234">u64</a> timestamp);</div>
|
|
<div class="line"><a id="l00216" name="l00216"></a><span class="lineno"> 216</span><span class="comment"></span> </div>
|
|
<div class="line"><a id="l00217" name="l00217"></a><span class="lineno"> 217</span><span class="comment">/**</span></div>
|
|
<div class="line"><a id="l00218" name="l00218"></a><span class="lineno"> 218</span><span class="comment"> * @brief Launches the applet for displaying an error full-screen, using the specified Result and timestamp.</span></div>
|
|
<div class="line"><a id="l00219" name="l00219"></a><span class="lineno"> 219</span><span class="comment"> * @param res Result</span></div>
|
|
<div class="line"><a id="l00220" name="l00220"></a><span class="lineno"> 220</span><span class="comment"> * @param timestamp POSIX timestamp.</span></div>
|
|
<div class="line"><a id="l00221" name="l00221"></a><span class="lineno"> 221</span><span class="comment"> * @note Wrapper for \ref errorCodeRecordShow, see \ref errorCodeRecordShow notes.</span></div>
|
|
<div class="line"><a id="l00222" name="l00222"></a><span class="lineno"> 222</span><span class="comment"> */</span></div>
|
|
<div class="foldopen" id="foldopen00223" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00223" name="l00223"></a><span class="lineno"><a class="line" href="error_8h.html#afd1a468b73556bf7622457d8a47f5841"> 223</a></span><span class="keyword">static</span> <span class="keyword">inline</span> <a class="code hl_typedef" href="types_8h.html#ad1be2721625a17f1be47fac918032afe">Result</a> <a class="code hl_function" href="error_8h.html#afd1a468b73556bf7622457d8a47f5841">errorResultRecordShow</a>(<a class="code hl_typedef" href="types_8h.html#ad1be2721625a17f1be47fac918032afe">Result</a> res, <a class="code hl_typedef" href="types_8h.html#a3f7e2bcbb0b4c338f3c4f6c937cd4234">u64</a> timestamp) {</div>
|
|
<div class="line"><a id="l00224" name="l00224"></a><span class="lineno"> 224</span> <span class="keywordflow">return</span> <a class="code hl_function" href="error_8h.html#a2a516ee57a64485eff58114266a6d33c">errorCodeRecordShow</a>(<a class="code hl_function" href="error_8h.html#af2c23c4b00a9f35788140ef895144a79">errorCodeCreateResult</a>(res), timestamp);</div>
|
|
<div class="line"><a id="l00225" name="l00225"></a><span class="lineno"> 225</span>}</div>
|
|
</div>
|
|
<div class="line"><a id="l00226" name="l00226"></a><span class="lineno"> 226</span><span class="comment"></span> </div>
|
|
<div class="line"><a id="l00227" name="l00227"></a><span class="lineno"> 227</span><span class="comment">/**</span></div>
|
|
<div class="line"><a id="l00228" name="l00228"></a><span class="lineno"> 228</span><span class="comment"> * @brief Creates an ErrorSystemConfig struct.</span></div>
|
|
<div class="line"><a id="l00229" name="l00229"></a><span class="lineno"> 229</span><span class="comment"> * @param c ErrorSystemConfig struct.</span></div>
|
|
<div class="line"><a id="l00230" name="l00230"></a><span class="lineno"> 230</span><span class="comment"> * @param dialog_message UTF-8 dialog message.</span></div>
|
|
<div class="line"><a id="l00231" name="l00231"></a><span class="lineno"> 231</span><span class="comment"> * @param fullscreen_message UTF-8 fullscreen message, displayed when the user clicks on "Details". Optional, can be NULL (which disables displaying Details).</span></div>
|
|
<div class="line"><a id="l00232" name="l00232"></a><span class="lineno"> 232</span><span class="comment"> * @note Sets the following fields: {strings}, and uses ::ErrorType_System. The rest are cleared.</span></div>
|
|
<div class="line"><a id="l00233" name="l00233"></a><span class="lineno"> 233</span><span class="comment"> * @note On pre-5.0.0 this will initialize languageCode by using: setInitialize(), setMakeLanguageCode(SetLanguage_ENUS, ...), and setExit(). This is needed since an empty languageCode wasn't supported until [5.0.0+] (which would also use SetLanguage_ENUS).</span></div>
|
|
<div class="line"><a id="l00234" name="l00234"></a><span class="lineno"> 234</span><span class="comment"> * @warning This applet creates an error report that is logged in the system. Proceed at your own risk!</span></div>
|
|
<div class="line"><a id="l00235" name="l00235"></a><span class="lineno"> 235</span><span class="comment"> */</span></div>
|
|
<div class="line"><a id="l00236" name="l00236"></a><span class="lineno"><a class="line" href="error_8h.html#a51dfb0be68bf5a42407e66d4fdc0fe41"> 236</a></span><a class="code hl_typedef" href="types_8h.html#ad1be2721625a17f1be47fac918032afe">Result</a> <a class="code hl_function" href="error_8h.html#a51dfb0be68bf5a42407e66d4fdc0fe41">errorSystemCreate</a>(<a class="code hl_struct" href="structErrorSystemConfig.html">ErrorSystemConfig</a>* c, <span class="keyword">const</span> <span class="keywordtype">char</span>* dialog_message, <span class="keyword">const</span> <span class="keywordtype">char</span>* fullscreen_message);</div>
|
|
<div class="line"><a id="l00237" name="l00237"></a><span class="lineno"> 237</span><span class="comment"></span> </div>
|
|
<div class="line"><a id="l00238" name="l00238"></a><span class="lineno"> 238</span><span class="comment">/**</span></div>
|
|
<div class="line"><a id="l00239" name="l00239"></a><span class="lineno"> 239</span><span class="comment"> * @brief Launches the applet with the specified config.</span></div>
|
|
<div class="line"><a id="l00240" name="l00240"></a><span class="lineno"> 240</span><span class="comment"> * @param c ErrorSystemConfig struct.</span></div>
|
|
<div class="line"><a id="l00241" name="l00241"></a><span class="lineno"> 241</span><span class="comment"> */</span></div>
|
|
<div class="line"><a id="l00242" name="l00242"></a><span class="lineno"><a class="line" href="error_8h.html#aeebad4eef4e75efce44dca9ac46b5c50"> 242</a></span><a class="code hl_typedef" href="types_8h.html#ad1be2721625a17f1be47fac918032afe">Result</a> <a class="code hl_function" href="error_8h.html#aeebad4eef4e75efce44dca9ac46b5c50">errorSystemShow</a>(<a class="code hl_struct" href="structErrorSystemConfig.html">ErrorSystemConfig</a>* c);</div>
|
|
<div class="line"><a id="l00243" name="l00243"></a><span class="lineno"> 243</span><span class="comment"></span> </div>
|
|
<div class="line"><a id="l00244" name="l00244"></a><span class="lineno"> 244</span><span class="comment">/**</span></div>
|
|
<div class="line"><a id="l00245" name="l00245"></a><span class="lineno"> 245</span><span class="comment"> * @brief Sets the error code.</span></div>
|
|
<div class="line"><a id="l00246" name="l00246"></a><span class="lineno"> 246</span><span class="comment"> * @param c ErrorSystemConfig struct.</span></div>
|
|
<div class="line"><a id="l00247" name="l00247"></a><span class="lineno"> 247</span><span class="comment"> * @param errorCode \ref ErrorCode</span></div>
|
|
<div class="line"><a id="l00248" name="l00248"></a><span class="lineno"> 248</span><span class="comment"> */</span></div>
|
|
<div class="foldopen" id="foldopen00249" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00249" name="l00249"></a><span class="lineno"><a class="line" href="error_8h.html#a385c38ef2a824b936a5d3ef3597be417"> 249</a></span><span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code hl_function" href="error_8h.html#a385c38ef2a824b936a5d3ef3597be417">errorSystemSetCode</a>(<a class="code hl_struct" href="structErrorSystemConfig.html">ErrorSystemConfig</a>* c, <a class="code hl_struct" href="structErrorCode.html">ErrorCode</a> errorCode) {</div>
|
|
<div class="line"><a id="l00250" name="l00250"></a><span class="lineno"> 250</span> c-><a class="code hl_variable" href="structErrorSystemConfig.html#a3df470932e3c165e12e271aa093a239b">arg</a>.<a class="code hl_variable" href="structErrorSystemArg.html#aedc14b1502cc86702ffe59f2b23b7b6c">errorCode</a> = errorCode;</div>
|
|
<div class="line"><a id="l00251" name="l00251"></a><span class="lineno"> 251</span>}</div>
|
|
</div>
|
|
<div class="line"><a id="l00252" name="l00252"></a><span class="lineno"> 252</span><span class="comment"></span> </div>
|
|
<div class="line"><a id="l00253" name="l00253"></a><span class="lineno"> 253</span><span class="comment">/**</span></div>
|
|
<div class="line"><a id="l00254" name="l00254"></a><span class="lineno"> 254</span><span class="comment"> * @brief Sets the error code, using the input Result. Wrapper for \ref errorSystemSetCode.</span></div>
|
|
<div class="line"><a id="l00255" name="l00255"></a><span class="lineno"> 255</span><span class="comment"> * @param c ErrorSystemConfig struct.</span></div>
|
|
<div class="line"><a id="l00256" name="l00256"></a><span class="lineno"> 256</span><span class="comment"> * @param res The Result to set.</span></div>
|
|
<div class="line"><a id="l00257" name="l00257"></a><span class="lineno"> 257</span><span class="comment"> */</span></div>
|
|
<div class="foldopen" id="foldopen00258" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00258" name="l00258"></a><span class="lineno"><a class="line" href="error_8h.html#adf9bc34d939e118128568fab3e66b095"> 258</a></span><span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code hl_function" href="error_8h.html#adf9bc34d939e118128568fab3e66b095">errorSystemSetResult</a>(<a class="code hl_struct" href="structErrorSystemConfig.html">ErrorSystemConfig</a>* c, <a class="code hl_typedef" href="types_8h.html#ad1be2721625a17f1be47fac918032afe">Result</a> res) {</div>
|
|
<div class="line"><a id="l00259" name="l00259"></a><span class="lineno"> 259</span> <a class="code hl_function" href="error_8h.html#a385c38ef2a824b936a5d3ef3597be417">errorSystemSetCode</a>(c, <a class="code hl_function" href="error_8h.html#af2c23c4b00a9f35788140ef895144a79">errorCodeCreateResult</a>(res));</div>
|
|
<div class="line"><a id="l00260" name="l00260"></a><span class="lineno"> 260</span>}</div>
|
|
</div>
|
|
<div class="line"><a id="l00261" name="l00261"></a><span class="lineno"> 261</span><span class="comment"></span> </div>
|
|
<div class="line"><a id="l00262" name="l00262"></a><span class="lineno"> 262</span><span class="comment">/**</span></div>
|
|
<div class="line"><a id="l00263" name="l00263"></a><span class="lineno"> 263</span><span class="comment"> * @brief Sets the LanguageCode.</span></div>
|
|
<div class="line"><a id="l00264" name="l00264"></a><span class="lineno"> 264</span><span class="comment"> * @param c ErrorSystemConfig struct.</span></div>
|
|
<div class="line"><a id="l00265" name="l00265"></a><span class="lineno"> 265</span><span class="comment"> * @param LanguageCode LanguageCode, see set.h.</span></div>
|
|
<div class="line"><a id="l00266" name="l00266"></a><span class="lineno"> 266</span><span class="comment"> */</span></div>
|
|
<div class="foldopen" id="foldopen00267" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00267" name="l00267"></a><span class="lineno"><a class="line" href="error_8h.html#aea131aa6adfb97002b0e3c4f2f4684fa"> 267</a></span><span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code hl_function" href="error_8h.html#aea131aa6adfb97002b0e3c4f2f4684fa">errorSystemSetLanguageCode</a>(<a class="code hl_struct" href="structErrorSystemConfig.html">ErrorSystemConfig</a>* c, <a class="code hl_typedef" href="types_8h.html#a3f7e2bcbb0b4c338f3c4f6c937cd4234">u64</a> LanguageCode) {</div>
|
|
<div class="line"><a id="l00268" name="l00268"></a><span class="lineno"> 268</span> c-><a class="code hl_variable" href="structErrorSystemConfig.html#a3df470932e3c165e12e271aa093a239b">arg</a>.<a class="code hl_variable" href="structErrorSystemArg.html#af156c5355af833d7577aa2d8595f42e0">languageCode</a> = LanguageCode;</div>
|
|
<div class="line"><a id="l00269" name="l00269"></a><span class="lineno"> 269</span>}</div>
|
|
</div>
|
|
<div class="line"><a id="l00270" name="l00270"></a><span class="lineno"> 270</span><span class="comment"></span> </div>
|
|
<div class="line"><a id="l00271" name="l00271"></a><span class="lineno"> 271</span><span class="comment">/**</span></div>
|
|
<div class="line"><a id="l00272" name="l00272"></a><span class="lineno"> 272</span><span class="comment"> * @brief Sets the ErrorContext.</span></div>
|
|
<div class="line"><a id="l00273" name="l00273"></a><span class="lineno"> 273</span><span class="comment"> * @note Only available on [4.0.0+], on older versions this will return without setting the context.</span></div>
|
|
<div class="line"><a id="l00274" name="l00274"></a><span class="lineno"> 274</span><span class="comment"> * @param c ErrorSystemConfig struct.</span></div>
|
|
<div class="line"><a id="l00275" name="l00275"></a><span class="lineno"> 275</span><span class="comment"> * @param ctx ErrorContext, NULL to clear it.</span></div>
|
|
<div class="line"><a id="l00276" name="l00276"></a><span class="lineno"> 276</span><span class="comment"> */</span></div>
|
|
<div class="line"><a id="l00277" name="l00277"></a><span class="lineno"><a class="line" href="error_8h.html#ad340116b85fd94006182bccdf73a0663"> 277</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="error_8h.html#ad340116b85fd94006182bccdf73a0663">errorSystemSetContext</a>(<a class="code hl_struct" href="structErrorSystemConfig.html">ErrorSystemConfig</a>* c, <span class="keyword">const</span> <a class="code hl_struct" href="structErrorContext.html">ErrorContext</a>* ctx);</div>
|
|
<div class="line"><a id="l00278" name="l00278"></a><span class="lineno"> 278</span><span class="comment"></span> </div>
|
|
<div class="line"><a id="l00279" name="l00279"></a><span class="lineno"> 279</span><span class="comment">/**</span></div>
|
|
<div class="line"><a id="l00280" name="l00280"></a><span class="lineno"> 280</span><span class="comment"> * @brief Creates an ErrorApplicationConfig struct.</span></div>
|
|
<div class="line"><a id="l00281" name="l00281"></a><span class="lineno"> 281</span><span class="comment"> * @param c ErrorApplicationConfig struct.</span></div>
|
|
<div class="line"><a id="l00282" name="l00282"></a><span class="lineno"> 282</span><span class="comment"> * @param dialog_message UTF-8 dialog message.</span></div>
|
|
<div class="line"><a id="l00283" name="l00283"></a><span class="lineno"> 283</span><span class="comment"> * @param fullscreen_message UTF-8 fullscreen message, displayed when the user clicks on "Details". Optional, can be NULL (which disables displaying Details).</span></div>
|
|
<div class="line"><a id="l00284" name="l00284"></a><span class="lineno"> 284</span><span class="comment"> * @note Sets the following fields: jumpFlag=1, {strings}, and uses ::ErrorType_Application. The rest are cleared.</span></div>
|
|
<div class="line"><a id="l00285" name="l00285"></a><span class="lineno"> 285</span><span class="comment"> * @note On pre-5.0.0 this will initialize languageCode by using: setInitialize(), setMakeLanguageCode(SetLanguage_ENUS, ...), and setExit(). This is needed since an empty languageCode wasn't supported until [5.0.0+] (which would also use SetLanguage_ENUS).</span></div>
|
|
<div class="line"><a id="l00286" name="l00286"></a><span class="lineno"> 286</span><span class="comment"> * @note With [10.0.0+] this must only be used when running under an Application, since otherwise the applet will trigger a fatalerr.</span></div>
|
|
<div class="line"><a id="l00287" name="l00287"></a><span class="lineno"> 287</span><span class="comment"> * @warning This applet creates an error report that is logged in the system. Proceed at your own risk!</span></div>
|
|
<div class="line"><a id="l00288" name="l00288"></a><span class="lineno"> 288</span><span class="comment"> */</span></div>
|
|
<div class="line"><a id="l00289" name="l00289"></a><span class="lineno"><a class="line" href="error_8h.html#a913682c2ebd3902716f50288378a0006"> 289</a></span><a class="code hl_typedef" href="types_8h.html#ad1be2721625a17f1be47fac918032afe">Result</a> <a class="code hl_function" href="error_8h.html#a913682c2ebd3902716f50288378a0006">errorApplicationCreate</a>(<a class="code hl_struct" href="structErrorApplicationConfig.html">ErrorApplicationConfig</a>* c, <span class="keyword">const</span> <span class="keywordtype">char</span>* dialog_message, <span class="keyword">const</span> <span class="keywordtype">char</span>* fullscreen_message);</div>
|
|
<div class="line"><a id="l00290" name="l00290"></a><span class="lineno"> 290</span><span class="comment"></span> </div>
|
|
<div class="line"><a id="l00291" name="l00291"></a><span class="lineno"> 291</span><span class="comment">/**</span></div>
|
|
<div class="line"><a id="l00292" name="l00292"></a><span class="lineno"> 292</span><span class="comment"> * @brief Launches the applet with the specified config.</span></div>
|
|
<div class="line"><a id="l00293" name="l00293"></a><span class="lineno"> 293</span><span class="comment"> * @param c ErrorApplicationConfig struct.</span></div>
|
|
<div class="line"><a id="l00294" name="l00294"></a><span class="lineno"> 294</span><span class="comment"> */</span></div>
|
|
<div class="line"><a id="l00295" name="l00295"></a><span class="lineno"><a class="line" href="error_8h.html#a6c7ab541d2eeef535256a4a1abc67a9c"> 295</a></span><a class="code hl_typedef" href="types_8h.html#ad1be2721625a17f1be47fac918032afe">Result</a> <a class="code hl_function" href="error_8h.html#a6c7ab541d2eeef535256a4a1abc67a9c">errorApplicationShow</a>(<a class="code hl_struct" href="structErrorApplicationConfig.html">ErrorApplicationConfig</a>* c);</div>
|
|
<div class="line"><a id="l00296" name="l00296"></a><span class="lineno"> 296</span><span class="comment"></span> </div>
|
|
<div class="line"><a id="l00297" name="l00297"></a><span class="lineno"> 297</span><span class="comment">/**</span></div>
|
|
<div class="line"><a id="l00298" name="l00298"></a><span class="lineno"> 298</span><span class="comment"> * @brief Sets the error code number.</span></div>
|
|
<div class="line"><a id="l00299" name="l00299"></a><span class="lineno"> 299</span><span class="comment"> * @param c ErrorApplicationConfig struct.</span></div>
|
|
<div class="line"><a id="l00300" name="l00300"></a><span class="lineno"> 300</span><span class="comment"> * @param errorNumber Error code number. Raw decimal error number which is displayed in the dialog.</span></div>
|
|
<div class="line"><a id="l00301" name="l00301"></a><span class="lineno"> 301</span><span class="comment"> */</span></div>
|
|
<div class="foldopen" id="foldopen00302" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00302" name="l00302"></a><span class="lineno"><a class="line" href="error_8h.html#a46d44a06114bc68b947e6ff9845a0712"> 302</a></span><span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code hl_function" href="error_8h.html#a46d44a06114bc68b947e6ff9845a0712">errorApplicationSetNumber</a>(<a class="code hl_struct" href="structErrorApplicationConfig.html">ErrorApplicationConfig</a>* c, <a class="code hl_typedef" href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a> errorNumber) {</div>
|
|
<div class="line"><a id="l00303" name="l00303"></a><span class="lineno"> 303</span> c-><a class="code hl_variable" href="structErrorApplicationConfig.html#a400141f26183aa653b7eae79af782740">arg</a>.<a class="code hl_variable" href="structErrorApplicationArg.html#ab8ca5d0863ddb47380897a8e5d3dfd9e">errorNumber</a> = errorNumber;</div>
|
|
<div class="line"><a id="l00304" name="l00304"></a><span class="lineno"> 304</span>}</div>
|
|
</div>
|
|
<div class="line"><a id="l00305" name="l00305"></a><span class="lineno"> 305</span><span class="comment"></span> </div>
|
|
<div class="line"><a id="l00306" name="l00306"></a><span class="lineno"> 306</span><span class="comment">/**</span></div>
|
|
<div class="line"><a id="l00307" name="l00307"></a><span class="lineno"> 307</span><span class="comment"> * @brief Sets the LanguageCode.</span></div>
|
|
<div class="line"><a id="l00308" name="l00308"></a><span class="lineno"> 308</span><span class="comment"> * @param c ErrorApplicationConfig struct.</span></div>
|
|
<div class="line"><a id="l00309" name="l00309"></a><span class="lineno"> 309</span><span class="comment"> * @param LanguageCode LanguageCode, see set.h.</span></div>
|
|
<div class="line"><a id="l00310" name="l00310"></a><span class="lineno"> 310</span><span class="comment"> */</span></div>
|
|
<div class="foldopen" id="foldopen00311" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00311" name="l00311"></a><span class="lineno"><a class="line" href="error_8h.html#a7197e611b36eedbd36360671bcbd0b8a"> 311</a></span><span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code hl_function" href="error_8h.html#a7197e611b36eedbd36360671bcbd0b8a">errorApplicationSetLanguageCode</a>(<a class="code hl_struct" href="structErrorApplicationConfig.html">ErrorApplicationConfig</a>* c, <a class="code hl_typedef" href="types_8h.html#a3f7e2bcbb0b4c338f3c4f6c937cd4234">u64</a> LanguageCode) {</div>
|
|
<div class="line"><a id="l00312" name="l00312"></a><span class="lineno"> 312</span> c-><a class="code hl_variable" href="structErrorApplicationConfig.html#a400141f26183aa653b7eae79af782740">arg</a>.<a class="code hl_variable" href="structErrorApplicationArg.html#a6320e9a4b22becb99cdf27c279fc077f">languageCode</a> = LanguageCode;</div>
|
|
<div class="line"><a id="l00313" name="l00313"></a><span class="lineno"> 313</span>}</div>
|
|
</div>
|
|
<div class="line"><a id="l00314" name="l00314"></a><span class="lineno"> 314</span> </div>
|
|
<div class="ttc" id="aerror_8h_html_a10fa5ed39c9af71d19a9e440a43a074d"><div class="ttname"><a href="error_8h.html#a10fa5ed39c9af71d19a9e440a43a074d">errorResultBacktraceShow</a></div><div class="ttdeci">Result errorResultBacktraceShow(Result res, const ErrorResultBacktrace *backtrace)</div><div class="ttdoc">Launches the applet for ErrorResultBacktrace.</div></div>
|
|
<div class="ttc" id="aerror_8h_html_a16b8b11d31f635b3f28b35b5b3f51622"><div class="ttname"><a href="error_8h.html#a16b8b11d31f635b3f28b35b5b3f51622">errorResultBacktraceCreate</a></div><div class="ttdeci">Result errorResultBacktraceCreate(ErrorResultBacktrace *backtrace, s32 count, const Result *entries)</div><div class="ttdoc">Creates an ErrorResultBacktrace struct.</div></div>
|
|
<div class="ttc" id="aerror_8h_html_a2a516ee57a64485eff58114266a6d33c"><div class="ttname"><a href="error_8h.html#a2a516ee57a64485eff58114266a6d33c">errorCodeRecordShow</a></div><div class="ttdeci">Result errorCodeRecordShow(ErrorCode errorCode, u64 timestamp)</div><div class="ttdoc">Launches the applet for displaying an error full-screen, using the specified ErrorCode and timestamp.</div></div>
|
|
<div class="ttc" id="aerror_8h_html_a385c38ef2a824b936a5d3ef3597be417"><div class="ttname"><a href="error_8h.html#a385c38ef2a824b936a5d3ef3597be417">errorSystemSetCode</a></div><div class="ttdeci">static void errorSystemSetCode(ErrorSystemConfig *c, ErrorCode errorCode)</div><div class="ttdoc">Sets the error code.</div><div class="ttdef"><b>Definition</b> error.h:249</div></div>
|
|
<div class="ttc" id="aerror_8h_html_a46d44a06114bc68b947e6ff9845a0712"><div class="ttname"><a href="error_8h.html#a46d44a06114bc68b947e6ff9845a0712">errorApplicationSetNumber</a></div><div class="ttdeci">static void errorApplicationSetNumber(ErrorApplicationConfig *c, u32 errorNumber)</div><div class="ttdoc">Sets the error code number.</div><div class="ttdef"><b>Definition</b> error.h:302</div></div>
|
|
<div class="ttc" id="aerror_8h_html_a51dfb0be68bf5a42407e66d4fdc0fe41"><div class="ttname"><a href="error_8h.html#a51dfb0be68bf5a42407e66d4fdc0fe41">errorSystemCreate</a></div><div class="ttdeci">Result errorSystemCreate(ErrorSystemConfig *c, const char *dialog_message, const char *fullscreen_message)</div><div class="ttdoc">Creates an ErrorSystemConfig struct.</div></div>
|
|
<div class="ttc" id="aerror_8h_html_a646fec487dc30e5e2d0da5eae905cda0"><div class="ttname"><a href="error_8h.html#a646fec487dc30e5e2d0da5eae905cda0">errorCodeIsValid</a></div><div class="ttdeci">static bool errorCodeIsValid(ErrorCode errorCode)</div><div class="ttdoc">Checks whether the input ErrorCode is valid.</div><div class="ttdef"><b>Definition</b> error.h:149</div></div>
|
|
<div class="ttc" id="aerror_8h_html_a6694b1abaa7165bb96405582e285b53a"><div class="ttname"><a href="error_8h.html#a6694b1abaa7165bb96405582e285b53a">errorEulaShow</a></div><div class="ttdeci">Result errorEulaShow(SetRegion RegionCode)</div><div class="ttdoc">Launches the applet for displaying the EULA.</div></div>
|
|
<div class="ttc" id="aerror_8h_html_a682b3eccc466b94a66a98fa6b676b429"><div class="ttname"><a href="error_8h.html#a682b3eccc466b94a66a98fa6b676b429">ErrorContextType</a></div><div class="ttdeci">ErrorContextType</div><div class="ttdoc">Error type for ErrorContext.type.</div><div class="ttdef"><b>Definition</b> error.h:29</div></div>
|
|
<div class="ttc" id="aerror_8h_html_a682b3eccc466b94a66a98fa6b676b429a2876575f31f1ffc57eafc8de29286083"><div class="ttname"><a href="error_8h.html#a682b3eccc466b94a66a98fa6b676b429a2876575f31f1ffc57eafc8de29286083">ErrorContextType_None</a></div><div class="ttdeci">@ ErrorContextType_None</div><div class="ttdoc">None.</div><div class="ttdef"><b>Definition</b> error.h:30</div></div>
|
|
<div class="ttc" id="aerror_8h_html_a682b3eccc466b94a66a98fa6b676b429a5087f7a6171e2871081757a4c95c09a1"><div class="ttname"><a href="error_8h.html#a682b3eccc466b94a66a98fa6b676b429a5087f7a6171e2871081757a4c95c09a1">ErrorContextType_FileSystem</a></div><div class="ttdeci">@ ErrorContextType_FileSystem</div><div class="ttdoc">FileSystem.</div><div class="ttdef"><b>Definition</b> error.h:32</div></div>
|
|
<div class="ttc" id="aerror_8h_html_a682b3eccc466b94a66a98fa6b676b429a6f6ad504be97b324b53426805d9c6df8"><div class="ttname"><a href="error_8h.html#a682b3eccc466b94a66a98fa6b676b429a6f6ad504be97b324b53426805d9c6df8">ErrorContextType_WebMediaPlayer</a></div><div class="ttdeci">@ ErrorContextType_WebMediaPlayer</div><div class="ttdoc">WebMediaPlayer.</div><div class="ttdef"><b>Definition</b> error.h:33</div></div>
|
|
<div class="ttc" id="aerror_8h_html_a682b3eccc466b94a66a98fa6b676b429ae2813b514a67789f5c1844ad0c2d23f5"><div class="ttname"><a href="error_8h.html#a682b3eccc466b94a66a98fa6b676b429ae2813b514a67789f5c1844ad0c2d23f5">ErrorContextType_Http</a></div><div class="ttdeci">@ ErrorContextType_Http</div><div class="ttdoc">Http.</div><div class="ttdef"><b>Definition</b> error.h:31</div></div>
|
|
<div class="ttc" id="aerror_8h_html_a682b3eccc466b94a66a98fa6b676b429af35bce7f3d721b0749f624b398d04d81"><div class="ttname"><a href="error_8h.html#a682b3eccc466b94a66a98fa6b676b429af35bce7f3d721b0749f624b398d04d81">ErrorContextType_LocalContentShare</a></div><div class="ttdeci">@ ErrorContextType_LocalContentShare</div><div class="ttdoc">LocalContentShare.</div><div class="ttdef"><b>Definition</b> error.h:34</div></div>
|
|
<div class="ttc" id="aerror_8h_html_a6c7ab541d2eeef535256a4a1abc67a9c"><div class="ttname"><a href="error_8h.html#a6c7ab541d2eeef535256a4a1abc67a9c">errorApplicationShow</a></div><div class="ttdeci">Result errorApplicationShow(ErrorApplicationConfig *c)</div><div class="ttdoc">Launches the applet with the specified config.</div></div>
|
|
<div class="ttc" id="aerror_8h_html_a7197e611b36eedbd36360671bcbd0b8a"><div class="ttname"><a href="error_8h.html#a7197e611b36eedbd36360671bcbd0b8a">errorApplicationSetLanguageCode</a></div><div class="ttdeci">static void errorApplicationSetLanguageCode(ErrorApplicationConfig *c, u64 LanguageCode)</div><div class="ttdoc">Sets the LanguageCode.</div><div class="ttdef"><b>Definition</b> error.h:311</div></div>
|
|
<div class="ttc" id="aerror_8h_html_a722fe3211458e8800146152ac038e8d4"><div class="ttname"><a href="error_8h.html#a722fe3211458e8800146152ac038e8d4">errorCodeShow</a></div><div class="ttdeci">Result errorCodeShow(ErrorCode errorCode, bool jumpFlag, const ErrorContext *ctx)</div><div class="ttdoc">Launches the applet for displaying the specified ErrorCode.</div></div>
|
|
<div class="ttc" id="aerror_8h_html_a74d176f2379e486ddfbe442e09b40928"><div class="ttname"><a href="error_8h.html#a74d176f2379e486ddfbe442e09b40928">errorResultShow</a></div><div class="ttdeci">Result errorResultShow(Result res, bool jumpFlag, const ErrorContext *ctx)</div><div class="ttdoc">Launches the applet for displaying the specified Result.</div></div>
|
|
<div class="ttc" id="aerror_8h_html_a803da5cc5f6e18594bb5f6cdece500c9"><div class="ttname"><a href="error_8h.html#a803da5cc5f6e18594bb5f6cdece500c9">errorSystemUpdateEulaShow</a></div><div class="ttdeci">Result errorSystemUpdateEulaShow(SetRegion RegionCode, const ErrorEulaData *eula)</div><div class="ttdoc">Launches the applet for displaying the system-update EULA.</div></div>
|
|
<div class="ttc" id="aerror_8h_html_a913682c2ebd3902716f50288378a0006"><div class="ttname"><a href="error_8h.html#a913682c2ebd3902716f50288378a0006">errorApplicationCreate</a></div><div class="ttdeci">Result errorApplicationCreate(ErrorApplicationConfig *c, const char *dialog_message, const char *fullscreen_message)</div><div class="ttdoc">Creates an ErrorApplicationConfig struct.</div></div>
|
|
<div class="ttc" id="aerror_8h_html_a964c4bb8ea6d8749ab789ef91a3742ad"><div class="ttname"><a href="error_8h.html#a964c4bb8ea6d8749ab789ef91a3742ad">errorCodeCreate</a></div><div class="ttdeci">static ErrorCode errorCodeCreate(u32 low, u32 desc)</div><div class="ttdoc">Creates an ErrorCode.</div><div class="ttdef"><b>Definition</b> error.h:126</div></div>
|
|
<div class="ttc" id="aerror_8h_html_aa4045dfc5f586ed0b8faedfd490b30f5"><div class="ttname"><a href="error_8h.html#aa4045dfc5f586ed0b8faedfd490b30f5">errorCodeCreateInvalid</a></div><div class="ttdeci">static ErrorCode errorCodeCreateInvalid(void)</div><div class="ttdoc">Creates an invalid ErrorCode.</div><div class="ttdef"><b>Definition</b> error.h:141</div></div>
|
|
<div class="ttc" id="aerror_8h_html_ab0df38968e4f03a3f1f6d6df0f31f45a"><div class="ttname"><a href="error_8h.html#ab0df38968e4f03a3f1f6d6df0f31f45a">ErrorType</a></div><div class="ttdeci">ErrorType</div><div class="ttdoc">Error type for ErrorCommonHeader.type.</div><div class="ttdef"><b>Definition</b> error.h:12</div></div>
|
|
<div class="ttc" id="aerror_8h_html_ab0df38968e4f03a3f1f6d6df0f31f45aa028268e8a5331c7d8a3479c544450f88"><div class="ttname"><a href="error_8h.html#ab0df38968e4f03a3f1f6d6df0f31f45aa028268e8a5331c7d8a3479c544450f88">ErrorType_Application</a></div><div class="ttdeci">@ ErrorType_Application</div><div class="ttdoc">Application.</div><div class="ttdef"><b>Definition</b> error.h:15</div></div>
|
|
<div class="ttc" id="aerror_8h_html_ab0df38968e4f03a3f1f6d6df0f31f45aa0f8af7ecdd2032f1b46a7749b8c2c539"><div class="ttname"><a href="error_8h.html#ab0df38968e4f03a3f1f6d6df0f31f45aa0f8af7ecdd2032f1b46a7749b8c2c539">ErrorType_System</a></div><div class="ttdeci">@ ErrorType_System</div><div class="ttdoc">System.</div><div class="ttdef"><b>Definition</b> error.h:14</div></div>
|
|
<div class="ttc" id="aerror_8h_html_ab0df38968e4f03a3f1f6d6df0f31f45aa2158435e09978e2bc86e40968b6b86a1"><div class="ttname"><a href="error_8h.html#ab0df38968e4f03a3f1f6d6df0f31f45aa2158435e09978e2bc86e40968b6b86a1">ErrorType_Eula</a></div><div class="ttdeci">@ ErrorType_Eula</div><div class="ttdoc">EULA.</div><div class="ttdef"><b>Definition</b> error.h:16</div></div>
|
|
<div class="ttc" id="aerror_8h_html_ab0df38968e4f03a3f1f6d6df0f31f45aa22e5d4fb0e355f98336e74bbaa27334b"><div class="ttname"><a href="error_8h.html#ab0df38968e4f03a3f1f6d6df0f31f45aa22e5d4fb0e355f98336e74bbaa27334b">ErrorType_SystemUpdateEula</a></div><div class="ttdeci">@ ErrorType_SystemUpdateEula</div><div class="ttdoc">SystemUpdateEula.</div><div class="ttdef"><b>Definition</b> error.h:19</div></div>
|
|
<div class="ttc" id="aerror_8h_html_ab0df38968e4f03a3f1f6d6df0f31f45aa72fef6d87c0d8cd75abcf50e2cce4a69"><div class="ttname"><a href="error_8h.html#ab0df38968e4f03a3f1f6d6df0f31f45aa72fef6d87c0d8cd75abcf50e2cce4a69">ErrorType_Normal</a></div><div class="ttdeci">@ ErrorType_Normal</div><div class="ttdoc">Normal.</div><div class="ttdef"><b>Definition</b> error.h:13</div></div>
|
|
<div class="ttc" id="aerror_8h_html_ab0df38968e4f03a3f1f6d6df0f31f45aa9eee8ae5f454f7641bf54885250a1f39"><div class="ttname"><a href="error_8h.html#ab0df38968e4f03a3f1f6d6df0f31f45aa9eee8ae5f454f7641bf54885250a1f39">ErrorType_Pctl</a></div><div class="ttdeci">@ ErrorType_Pctl</div><div class="ttdoc">Parental Controls.</div><div class="ttdef"><b>Definition</b> error.h:17</div></div>
|
|
<div class="ttc" id="aerror_8h_html_ab0df38968e4f03a3f1f6d6df0f31f45aadf4e16f367817d7cc02e313502dd51b1"><div class="ttname"><a href="error_8h.html#ab0df38968e4f03a3f1f6d6df0f31f45aadf4e16f367817d7cc02e313502dd51b1">ErrorType_Record</a></div><div class="ttdeci">@ ErrorType_Record</div><div class="ttdoc">Record.</div><div class="ttdef"><b>Definition</b> error.h:18</div></div>
|
|
<div class="ttc" id="aerror_8h_html_ad340116b85fd94006182bccdf73a0663"><div class="ttname"><a href="error_8h.html#ad340116b85fd94006182bccdf73a0663">errorSystemSetContext</a></div><div class="ttdeci">void errorSystemSetContext(ErrorSystemConfig *c, const ErrorContext *ctx)</div><div class="ttdoc">Sets the ErrorContext.</div></div>
|
|
<div class="ttc" id="aerror_8h_html_adf9bc34d939e118128568fab3e66b095"><div class="ttname"><a href="error_8h.html#adf9bc34d939e118128568fab3e66b095">errorSystemSetResult</a></div><div class="ttdeci">static void errorSystemSetResult(ErrorSystemConfig *c, Result res)</div><div class="ttdoc">Sets the error code, using the input Result.</div><div class="ttdef"><b>Definition</b> error.h:258</div></div>
|
|
<div class="ttc" id="aerror_8h_html_aea131aa6adfb97002b0e3c4f2f4684fa"><div class="ttname"><a href="error_8h.html#aea131aa6adfb97002b0e3c4f2f4684fa">errorSystemSetLanguageCode</a></div><div class="ttdeci">static void errorSystemSetLanguageCode(ErrorSystemConfig *c, u64 LanguageCode)</div><div class="ttdoc">Sets the LanguageCode.</div><div class="ttdef"><b>Definition</b> error.h:267</div></div>
|
|
<div class="ttc" id="aerror_8h_html_aeebad4eef4e75efce44dca9ac46b5c50"><div class="ttname"><a href="error_8h.html#aeebad4eef4e75efce44dca9ac46b5c50">errorSystemShow</a></div><div class="ttdeci">Result errorSystemShow(ErrorSystemConfig *c)</div><div class="ttdoc">Launches the applet with the specified config.</div></div>
|
|
<div class="ttc" id="aerror_8h_html_af2c23c4b00a9f35788140ef895144a79"><div class="ttname"><a href="error_8h.html#af2c23c4b00a9f35788140ef895144a79">errorCodeCreateResult</a></div><div class="ttdeci">static ErrorCode errorCodeCreateResult(Result res)</div><div class="ttdoc">Creates an ErrorCode with the input Result.</div><div class="ttdef"><b>Definition</b> error.h:134</div></div>
|
|
<div class="ttc" id="aerror_8h_html_afd1a468b73556bf7622457d8a47f5841"><div class="ttname"><a href="error_8h.html#afd1a468b73556bf7622457d8a47f5841">errorResultRecordShow</a></div><div class="ttdeci">static Result errorResultRecordShow(Result res, u64 timestamp)</div><div class="ttdoc">Launches the applet for displaying an error full-screen, using the specified Result and timestamp.</div><div class="ttdef"><b>Definition</b> error.h:223</div></div>
|
|
<div class="ttc" id="aresult_8h_html_a5b0e010ac431ca11f51ae23fdf4d7af2"><div class="ttname"><a href="result_8h.html#a5b0e010ac431ca11f51ae23fdf4d7af2">R_MODULE</a></div><div class="ttdeci">#define R_MODULE(res)</div><div class="ttdoc">Returns the module ID of a result code.</div><div class="ttdef"><b>Definition</b> result.h:14</div></div>
|
|
<div class="ttc" id="aresult_8h_html_a92f6ce12bd0312ba8f5252ce35ac680c"><div class="ttname"><a href="result_8h.html#a92f6ce12bd0312ba8f5252ce35ac680c">R_DESCRIPTION</a></div><div class="ttdeci">#define R_DESCRIPTION(res)</div><div class="ttdoc">Returns the description of a result code.</div><div class="ttdef"><b>Definition</b> result.h:16</div></div>
|
|
<div class="ttc" id="aset_8h_html_a17a796eb324ad48d8198b68092cdbb82"><div class="ttname"><a href="set_8h.html#a17a796eb324ad48d8198b68092cdbb82">SetRegion</a></div><div class="ttdeci">SetRegion</div><div class="ttdoc">Region codes.</div><div class="ttdef"><b>Definition</b> set.h:62</div></div>
|
|
<div class="ttc" id="astructErrorApplicationArg_html"><div class="ttname"><a href="structErrorApplicationArg.html">ErrorApplicationArg</a></div><div class="ttdoc">ApplicationErrorArg.</div><div class="ttdef"><b>Definition</b> error.h:108</div></div>
|
|
<div class="ttc" id="astructErrorApplicationArg_html_a5cbbff82304c6624be8fe31a38870ed8"><div class="ttname"><a href="structErrorApplicationArg.html#a5cbbff82304c6624be8fe31a38870ed8">ErrorApplicationArg::hdr</a></div><div class="ttdeci">ErrorCommonHeader hdr</div><div class="ttdoc">Common header.</div><div class="ttdef"><b>Definition</b> error.h:109</div></div>
|
|
<div class="ttc" id="astructErrorApplicationArg_html_a6320e9a4b22becb99cdf27c279fc077f"><div class="ttname"><a href="structErrorApplicationArg.html#a6320e9a4b22becb99cdf27c279fc077f">ErrorApplicationArg::languageCode</a></div><div class="ttdeci">u64 languageCode</div><div class="ttdoc">See set.h.</div><div class="ttdef"><b>Definition</b> error.h:111</div></div>
|
|
<div class="ttc" id="astructErrorApplicationArg_html_ab8ca5d0863ddb47380897a8e5d3dfd9e"><div class="ttname"><a href="structErrorApplicationArg.html#ab8ca5d0863ddb47380897a8e5d3dfd9e">ErrorApplicationArg::errorNumber</a></div><div class="ttdeci">u32 errorNumber</div><div class="ttdoc">Raw decimal error number which is displayed in the dialog.</div><div class="ttdef"><b>Definition</b> error.h:110</div></div>
|
|
<div class="ttc" id="astructErrorApplicationConfig_html"><div class="ttname"><a href="structErrorApplicationConfig.html">ErrorApplicationConfig</a></div><div class="ttdoc">Error application config.</div><div class="ttdef"><b>Definition</b> error.h:117</div></div>
|
|
<div class="ttc" id="astructErrorApplicationConfig_html_a400141f26183aa653b7eae79af782740"><div class="ttname"><a href="structErrorApplicationConfig.html#a400141f26183aa653b7eae79af782740">ErrorApplicationConfig::arg</a></div><div class="ttdeci">ErrorApplicationArg arg</div><div class="ttdoc">Arg data.</div><div class="ttdef"><b>Definition</b> error.h:118</div></div>
|
|
<div class="ttc" id="astructErrorCode_html"><div class="ttname"><a href="structErrorCode.html">ErrorCode</a></div><div class="ttdoc">Stores error-codes which are displayed as XXXX-XXXX, low for the former and desc for the latter.</div><div class="ttdef"><b>Definition</b> error.h:23</div></div>
|
|
<div class="ttc" id="astructErrorCode_html_a31f94f1f6ed72cd83a3664dd982c79b7"><div class="ttname"><a href="structErrorCode.html#a31f94f1f6ed72cd83a3664dd982c79b7">ErrorCode::low</a></div><div class="ttdeci">u32 low</div><div class="ttdoc">The module portion of the error, normally this should be set to module + 2000.</div><div class="ttdef"><b>Definition</b> error.h:24</div></div>
|
|
<div class="ttc" id="astructErrorCode_html_a699f23b8f7d9ce475f2b751cf49803e7"><div class="ttname"><a href="structErrorCode.html#a699f23b8f7d9ce475f2b751cf49803e7">ErrorCode::desc</a></div><div class="ttdeci">u32 desc</div><div class="ttdoc">The error description.</div><div class="ttdef"><b>Definition</b> error.h:25</div></div>
|
|
<div class="ttc" id="astructErrorCommonArg_html"><div class="ttname"><a href="structErrorCommonArg.html">ErrorCommonArg</a></div><div class="ttdoc">Common error arg data.</div><div class="ttdef"><b>Definition</b> error.h:56</div></div>
|
|
<div class="ttc" id="astructErrorCommonArg_html_a0a45656c85f4874f041e73e7181360a1"><div class="ttname"><a href="structErrorCommonArg.html#a0a45656c85f4874f041e73e7181360a1">ErrorCommonArg::errorCode</a></div><div class="ttdeci">ErrorCode errorCode</div><div class="ttdoc">ErrorCode</div><div class="ttdef"><b>Definition</b> error.h:58</div></div>
|
|
<div class="ttc" id="astructErrorCommonArg_html_a6a1991377dbb4ad6662e5a17c69d005d"><div class="ttname"><a href="structErrorCommonArg.html#a6a1991377dbb4ad6662e5a17c69d005d">ErrorCommonArg::hdr</a></div><div class="ttdeci">ErrorCommonHeader hdr</div><div class="ttdoc">Common header.</div><div class="ttdef"><b>Definition</b> error.h:57</div></div>
|
|
<div class="ttc" id="astructErrorCommonArg_html_ae98ee1e208c628a596a8618b57769f88"><div class="ttname"><a href="structErrorCommonArg.html#ae98ee1e208c628a596a8618b57769f88">ErrorCommonArg::res</a></div><div class="ttdeci">Result res</div><div class="ttdoc">Result.</div><div class="ttdef"><b>Definition</b> error.h:59</div></div>
|
|
<div class="ttc" id="astructErrorCommonHeader_html"><div class="ttname"><a href="structErrorCommonHeader.html">ErrorCommonHeader</a></div><div class="ttdoc">Common header for the start of the arg storage.</div><div class="ttdef"><b>Definition</b> error.h:46</div></div>
|
|
<div class="ttc" id="astructErrorCommonHeader_html_a19b2ce216962f3ca41606984d75e8631"><div class="ttname"><a href="structErrorCommonHeader.html#a19b2ce216962f3ca41606984d75e8631">ErrorCommonHeader::resultFlag</a></div><div class="ttdeci">u8 resultFlag</div><div class="ttdoc">ErrorCommonArg: When clear, errorCode is used, otherwise the applet generates the error-code from res...</div><div class="ttdef"><b>Definition</b> error.h:51</div></div>
|
|
<div class="ttc" id="astructErrorCommonHeader_html_a5b79c84683eeb3c06c7940bc343d71b1"><div class="ttname"><a href="structErrorCommonHeader.html#a5b79c84683eeb3c06c7940bc343d71b1">ErrorCommonHeader::type</a></div><div class="ttdeci">u8 type</div><div class="ttdoc">Type, see ErrorType.</div><div class="ttdef"><b>Definition</b> error.h:47</div></div>
|
|
<div class="ttc" id="astructErrorCommonHeader_html_a5e49362689dcc04f70880265990169f0"><div class="ttname"><a href="structErrorCommonHeader.html#a5e49362689dcc04f70880265990169f0">ErrorCommonHeader::jumpFlag</a></div><div class="ttdeci">u8 jumpFlag</div><div class="ttdoc">When clear, this indicates WithoutJump.</div><div class="ttdef"><b>Definition</b> error.h:48</div></div>
|
|
<div class="ttc" id="astructErrorCommonHeader_html_a94f80254c5ce0afc0efad7aba38d8b9c"><div class="ttname"><a href="structErrorCommonHeader.html#a94f80254c5ce0afc0efad7aba38d8b9c">ErrorCommonHeader::contextFlag</a></div><div class="ttdeci">u8 contextFlag</div><div class="ttdoc">When set with ErrorType_Normal, indicates that an additional storage is pushed for ErrorResultBacktra...</div><div class="ttdef"><b>Definition</b> error.h:50</div></div>
|
|
<div class="ttc" id="astructErrorCommonHeader_html_aa477e3b491f257dacaeca465b7eae417"><div class="ttname"><a href="structErrorCommonHeader.html#aa477e3b491f257dacaeca465b7eae417">ErrorCommonHeader::contextFlag2</a></div><div class="ttdeci">u8 contextFlag2</div><div class="ttdoc">Similar to contextFlag except for ErrorCommonArg, indicating ErrorContext is used.</div><div class="ttdef"><b>Definition</b> error.h:52</div></div>
|
|
<div class="ttc" id="astructErrorContext_html"><div class="ttname"><a href="structErrorContext.html">ErrorContext</a></div><div class="ttdoc">Error context.</div><div class="ttdef"><b>Definition</b> error.h:38</div></div>
|
|
<div class="ttc" id="astructErrorContext_html_a01fbb4b2ad0905c4aa3b9df913904def"><div class="ttname"><a href="structErrorContext.html#a01fbb4b2ad0905c4aa3b9df913904def">ErrorContext::res</a></div><div class="ttdeci">Result res</div><div class="ttdoc">Result.</div><div class="ttdef"><b>Definition</b> error.h:42</div></div>
|
|
<div class="ttc" id="astructErrorContext_html_a9c5d78743e08295520ac3529c38ff724"><div class="ttname"><a href="structErrorContext.html#a9c5d78743e08295520ac3529c38ff724">ErrorContext::type</a></div><div class="ttdeci">u8 type</div><div class="ttdoc">Type, see ErrorContextType.</div><div class="ttdef"><b>Definition</b> error.h:39</div></div>
|
|
<div class="ttc" id="astructErrorEulaArg_html"><div class="ttname"><a href="structErrorEulaArg.html">ErrorEulaArg</a></div><div class="ttdoc">Error arg data for EULA.</div><div class="ttdef"><b>Definition</b> error.h:75</div></div>
|
|
<div class="ttc" id="astructErrorEulaArg_html_a942fd142e24ed04b1eda94aa90c24f1f"><div class="ttname"><a href="structErrorEulaArg.html#a942fd142e24ed04b1eda94aa90c24f1f">ErrorEulaArg::hdr</a></div><div class="ttdeci">ErrorCommonHeader hdr</div><div class="ttdoc">Common header.</div><div class="ttdef"><b>Definition</b> error.h:76</div></div>
|
|
<div class="ttc" id="astructErrorEulaArg_html_ad3785de265e48b13a44279a285cc144a"><div class="ttname"><a href="structErrorEulaArg.html#ad3785de265e48b13a44279a285cc144a">ErrorEulaArg::regionCode</a></div><div class="ttdeci">SetRegion regionCode</div><div class="ttdoc">SetRegion</div><div class="ttdef"><b>Definition</b> error.h:77</div></div>
|
|
<div class="ttc" id="astructErrorEulaData_html"><div class="ttname"><a href="structErrorEulaData.html">ErrorEulaData</a></div><div class="ttdoc">Additional input storage data for errorSystemUpdateEulaShow.</div><div class="ttdef"><b>Definition</b> error.h:81</div></div>
|
|
<div class="ttc" id="astructErrorPctlArg_html"><div class="ttname"><a href="structErrorPctlArg.html">ErrorPctlArg</a></div><div class="ttdoc">Error arg data for certain errors with module PCTL.</div><div class="ttdef"><b>Definition</b> error.h:63</div></div>
|
|
<div class="ttc" id="astructErrorPctlArg_html_a27a9c0268b6dd117baa4528b911859a7"><div class="ttname"><a href="structErrorPctlArg.html#a27a9c0268b6dd117baa4528b911859a7">ErrorPctlArg::res</a></div><div class="ttdeci">Result res</div><div class="ttdoc">Result.</div><div class="ttdef"><b>Definition</b> error.h:65</div></div>
|
|
<div class="ttc" id="astructErrorPctlArg_html_a88bc20c11922a540c41c3f9a4926df6a"><div class="ttname"><a href="structErrorPctlArg.html#a88bc20c11922a540c41c3f9a4926df6a">ErrorPctlArg::hdr</a></div><div class="ttdeci">ErrorCommonHeader hdr</div><div class="ttdoc">Common header.</div><div class="ttdef"><b>Definition</b> error.h:64</div></div>
|
|
<div class="ttc" id="astructErrorRecordArg_html"><div class="ttname"><a href="structErrorRecordArg.html">ErrorRecordArg</a></div><div class="ttdoc">Error arg data for Record.</div><div class="ttdef"><b>Definition</b> error.h:86</div></div>
|
|
<div class="ttc" id="astructErrorRecordArg_html_a52e2b69521db73e4d81118abf6f9c201"><div class="ttname"><a href="structErrorRecordArg.html#a52e2b69521db73e4d81118abf6f9c201">ErrorRecordArg::timestamp</a></div><div class="ttdeci">u64 timestamp</div><div class="ttdoc">POSIX timestamp.</div><div class="ttdef"><b>Definition</b> error.h:89</div></div>
|
|
<div class="ttc" id="astructErrorRecordArg_html_a8fd88cbe6b6181e10e0277dfbf96538a"><div class="ttname"><a href="structErrorRecordArg.html#a8fd88cbe6b6181e10e0277dfbf96538a">ErrorRecordArg::hdr</a></div><div class="ttdeci">ErrorCommonHeader hdr</div><div class="ttdoc">Common header.</div><div class="ttdef"><b>Definition</b> error.h:87</div></div>
|
|
<div class="ttc" id="astructErrorRecordArg_html_af89999deaa01b2b18aa823615d8f023b"><div class="ttname"><a href="structErrorRecordArg.html#af89999deaa01b2b18aa823615d8f023b">ErrorRecordArg::errorCode</a></div><div class="ttdeci">ErrorCode errorCode</div><div class="ttdoc">ErrorCode</div><div class="ttdef"><b>Definition</b> error.h:88</div></div>
|
|
<div class="ttc" id="astructErrorResultBacktrace_html"><div class="ttname"><a href="structErrorResultBacktrace.html">ErrorResultBacktrace</a></div><div class="ttdoc">ResultBacktrace.</div><div class="ttdef"><b>Definition</b> error.h:69</div></div>
|
|
<div class="ttc" id="astructErrorResultBacktrace_html_ad3b1fc14172bb03774349911669ada3b"><div class="ttname"><a href="structErrorResultBacktrace.html#ad3b1fc14172bb03774349911669ada3b">ErrorResultBacktrace::count</a></div><div class="ttdeci">s32 count</div><div class="ttdoc">Total entries in the backtrace array.</div><div class="ttdef"><b>Definition</b> error.h:70</div></div>
|
|
<div class="ttc" id="astructErrorSystemArg_html"><div class="ttname"><a href="structErrorSystemArg.html">ErrorSystemArg</a></div><div class="ttdoc">SystemErrorArg.</div><div class="ttdef"><b>Definition</b> error.h:93</div></div>
|
|
<div class="ttc" id="astructErrorSystemArg_html_acef2572a2b38a4c8f476961f4080d5dd"><div class="ttname"><a href="structErrorSystemArg.html#acef2572a2b38a4c8f476961f4080d5dd">ErrorSystemArg::hdr</a></div><div class="ttdeci">ErrorCommonHeader hdr</div><div class="ttdoc">Common header.</div><div class="ttdef"><b>Definition</b> error.h:94</div></div>
|
|
<div class="ttc" id="astructErrorSystemArg_html_aedc14b1502cc86702ffe59f2b23b7b6c"><div class="ttname"><a href="structErrorSystemArg.html#aedc14b1502cc86702ffe59f2b23b7b6c">ErrorSystemArg::errorCode</a></div><div class="ttdeci">ErrorCode errorCode</div><div class="ttdoc">ErrorCode</div><div class="ttdef"><b>Definition</b> error.h:95</div></div>
|
|
<div class="ttc" id="astructErrorSystemArg_html_af156c5355af833d7577aa2d8595f42e0"><div class="ttname"><a href="structErrorSystemArg.html#af156c5355af833d7577aa2d8595f42e0">ErrorSystemArg::languageCode</a></div><div class="ttdeci">u64 languageCode</div><div class="ttdoc">See set.h.</div><div class="ttdef"><b>Definition</b> error.h:96</div></div>
|
|
<div class="ttc" id="astructErrorSystemConfig_html"><div class="ttname"><a href="structErrorSystemConfig.html">ErrorSystemConfig</a></div><div class="ttdoc">Error system config.</div><div class="ttdef"><b>Definition</b> error.h:102</div></div>
|
|
<div class="ttc" id="astructErrorSystemConfig_html_a0edbd1215c5a3c1f0820af893f6ce68a"><div class="ttname"><a href="structErrorSystemConfig.html#a0edbd1215c5a3c1f0820af893f6ce68a">ErrorSystemConfig::ctx</a></div><div class="ttdeci">ErrorContext ctx</div><div class="ttdoc">Optional error context.</div><div class="ttdef"><b>Definition</b> error.h:104</div></div>
|
|
<div class="ttc" id="astructErrorSystemConfig_html_a3df470932e3c165e12e271aa093a239b"><div class="ttname"><a href="structErrorSystemConfig.html#a3df470932e3c165e12e271aa093a239b">ErrorSystemConfig::arg</a></div><div class="ttdeci">ErrorSystemArg arg</div><div class="ttdoc">Arg data.</div><div class="ttdef"><b>Definition</b> error.h:103</div></div>
|
|
<div class="ttc" id="atypes_8h_html_a3f7e2bcbb0b4c338f3c4f6c937cd4234"><div class="ttname"><a href="types_8h.html#a3f7e2bcbb0b4c338f3c4f6c937cd4234">u64</a></div><div class="ttdeci">uint64_t u64</div><div class="ttdoc">64-bit unsigned integer.</div><div class="ttdef"><b>Definition</b> types.h:22</div></div>
|
|
<div class="ttc" id="atypes_8h_html_a92c50087ca0e64fa93fc59402c55f8ca"><div class="ttname"><a href="types_8h.html#a92c50087ca0e64fa93fc59402c55f8ca">u8</a></div><div class="ttdeci">uint8_t u8</div><div class="ttdoc">8-bit unsigned integer.</div><div class="ttdef"><b>Definition</b> types.h:19</div></div>
|
|
<div class="ttc" id="atypes_8h_html_ab6bd3fc8e13d24a2612da07835dda696"><div class="ttname"><a href="types_8h.html#ab6bd3fc8e13d24a2612da07835dda696">NX_PACKED</a></div><div class="ttdeci">#define NX_PACKED</div><div class="ttdoc">Packs a struct so that it won't include padding bytes.</div><div class="ttdef"><b>Definition</b> types.h:63</div></div>
|
|
<div class="ttc" id="atypes_8h_html_ad1be2721625a17f1be47fac918032afe"><div class="ttname"><a href="types_8h.html#ad1be2721625a17f1be47fac918032afe">Result</a></div><div class="ttdeci">u32 Result</div><div class="ttdoc">Function error code result type.</div><div class="ttdef"><b>Definition</b> types.h:44</div></div>
|
|
<div class="ttc" id="atypes_8h_html_ae9b1af5c037e57a98884758875d3a7c4"><div class="ttname"><a href="types_8h.html#ae9b1af5c037e57a98884758875d3a7c4">s32</a></div><div class="ttdeci">int32_t s32</div><div class="ttdoc">32-bit signed integer.</div><div class="ttdef"><b>Definition</b> types.h:27</div></div>
|
|
<div class="ttc" id="atypes_8h_html_afaa62991928fb9fb18ff0db62a040aba"><div class="ttname"><a href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a></div><div class="ttdeci">uint32_t u32</div><div class="ttdoc">32-bit unsigned integer.</div><div class="ttdef"><b>Definition</b> types.h:21</div></div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
|
|
</small></address>
|
|
</body>
|
|
</html>
|