FSGetErrorCodeForViewer

Syntax

#include <cafe/fs.h>

s32 FSGetErrorCodeForViewer(FSClient *client, FSCmdBlock *block);

Parameters

client Pointer of client buffer.
block Command block.

Return Values

Non-negative value ( ≥ 0 ) Error code for Wii U Error viewer.

Description

Gets the error code of the FS command block for Wii U Error viewer. These error codes are used only for the error viewer.

This API is intended to be used when FS API returns an error, so that a user can get the error code that is translated for Wii U Error viewer. A demo is included in the Wii U Error viewer package. For more information, see the following location.

    erreula/demo/fsgeterror

Do Not Call From

None.

See Also

Error Viewer
FSGetLastErrorCodeForViewer

Revision History

2013/05/08 Automated cleanup pass.
2012/07/20 Readability cleanup.
2012/06/18 Initial version.


CONFIDENTIAL