This class is used for error handling.
More...
|
static ModuleType | GetModuleTypeFromResult (const nn::Result &result) |
| Gets the Pia module in which the error occurred. More...
|
|
static bool | IsPiaError (const nn::Result &result) |
| Determines whether there is an error in the Pia module. More...
|
|
static void | TraceResult (const nn::Result &result) |
| Displays detailed information for nn::Result values. More...
|
|
static void | TraceResult (u64 traceFlags, const nn::Result &result) |
| Displays detailed information for nn::Result values. More...
|
|
This class is used for error handling.
- Revision History:
2012-07-11 Deleted the Severity
-related code that was scheduled for removal.
2011-12-07 Added a table to the GetSeverity
page that shows the relationship between each Result
used in the Pia module and the associated severity.
static ModuleType nn::pia::common::ErrorHandler::GetModuleTypeFromResult |
( |
const nn::Result & |
result | ) |
|
|
static |
Gets the Pia module in which the error occurred.
- Parameters
-
[in] | result | Specifies the nn::Result value to be checked by the module. |
- Returns
- Returns the module type using
nn::pia::ModuleType
.
static bool nn::pia::common::ErrorHandler::IsPiaError |
( |
const nn::Result & |
result | ) |
|
|
static |
Determines whether there is an error in the Pia module.
- Parameters
-
[in] | result | Specifies the nn::Result value to check. |
- Returns
- Returns
true
if the value is a Pia module Result
, and returns false
otherwise.
static void nn::pia::common::ErrorHandler::TraceResult |
( |
const nn::Result & |
result | ) |
|
|
static |
Displays detailed information for nn::Result
values.
- Parameters
-
[in] | result | The nn::Result value to trace. |
static void nn::pia::common::ErrorHandler::TraceResult |
( |
u64 |
traceFlags, |
|
|
const nn::Result & |
result |
|
) |
| |
|
static |
Displays detailed information for nn::Result
values.
- Parameters
-
[in] | traceFlags | Specifies trace flags. For more information, see TraceFlag . |
[in] | result | The nn::Result value to trace. |