libtransistor
A userland library for the Nintendo Switch
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
err.h
Go to the documentation of this file.
1 
6 #pragma once
7 
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11 
12 #include<libtransistor/err.h>
13 
14 #define FSPSRV_RESULT(code) MAKE_RESULT(MODULE_FS, code)
15 #define FSPSRV_ERR_NOT_FOUND FSPSRV_RESULT(1)
16 #define FSPSRV_ERR_EXISTS FSPSRV_RESULT(2)
17 #define FSPSRV_ERR_DIRECTORY_NOT_EMPTY FSPSRV_RESULT(8)
18 
19 #ifdef __cplusplus
20 }
21 #endif
Error definitions.