vitasdk
Documentation of the vitasdk
error.h File Reference
#include <vitasdk/build_utils.h>
#include <psp2/types.h>

Go to the source code of this file.

Data Structures

struct  SceErrorString
 
struct  SceErrorDefaultFormat
 
struct  SceErrorHistoryPostInfo
 
struct  SceErrorHistoryInfo
 
struct  SceErrorSequenceInfo
 

Functions

 VITASDK_BUILD_ASSERT_EQ (0x10, SceErrorString)
 
int _sceErrorGetExternalString (char *error_string, int error_code)
 Convert an internal error code to its formatted external error code.
 
 VITASDK_BUILD_ASSERT_EQ (8, SceErrorDefaultFormat)
 
 VITASDK_BUILD_ASSERT_EQ (0x180, SceErrorHistoryPostInfo)
 
 VITASDK_BUILD_ASSERT_EQ (0x1B0, SceErrorHistoryInfo)
 
 VITASDK_BUILD_ASSERT_EQ (0x20, SceErrorSequenceInfo)
 
int _sceErrorHistoryClearError (int zero)
 Clear the in-memory error history and remove vd0:history/data.bin.
 
int _sceErrorHistoryGetError (SceUInt32 error_idx, SceErrorHistoryInfo *info)
 Get an error-history entry.
 
int _sceErrorHistoryPostError (const SceErrorHistoryPostInfo *info)
 Post an error-history entry.
 
int _sceErrorHistorySetDefaultFormat (const SceErrorDefaultFormat *format)
 Set the default network status for error-history entries posted later.
 
int _sceErrorHistoryUpdateSequenceInfo (const SceErrorSequenceInfo *info, int zero)
 Update the flags of an error-history entry.