-
Notifications
You must be signed in to change notification settings - Fork 0
/
Errors.h
54 lines (48 loc) · 1.43 KB
/
Errors.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#ifndef _ERRORS_HEADER_
#define _ERRORS_HEADER_
// <borat> Great Success! </borat>
#define ErrorSuccess 0x0
// Generic Errors
#define ErrorGeneric 0x1
#define ErrorOutOfMemory 0x2
#define ErrorNotFound 0x3
#define ErrorInUse 0x4
#define ErrorUnknown 0x5
#define ErrorEmpty 0x6
#define ErrorNullArg 0x7
#define ErrorInvalidArg 0x8
#define ErrorUnimplemented 0x9
#define ErrorInternal 0xA
#define ErrorOutOfBounds 0xB
// Object Manager Errors
#define ErrorInvalidHandle 0x101
#define ErrorInvalidInterface 0x102
#define ErrorInvalidType 0x103
#define ErrorInvalidObject 0x104
#define ErrorNameInUse 0x105
#define ErrorReparse 0x106
// Thread Manager Errors
#define ErrorNoWait 0x201
// IO Manager Errors
#define ErrorUnmounted 0x301
#define ErrorUnopened 0x302
#define ErrorUnmountable 0x303
#define ErrorReadOnly 0x304
#define ErrorWriteOnly 0x305
#define ErrorTimeout 0x306
#define ErrorMountOnly 0x307
#define ErrorUnreadable 0x308
#define ErrorUnwriteable 0x309
#define ErrorWriting 0x30A
#define ErrorReading 0x30B
#define ErrorUnknownDevice 0x30C
#define ErrorDeviceOff 0x30D
#define ErrorUnknownFS 0x30E
#define ErrorInvalidPartition 0x30F
#define ErrorUnseekable 0x310
#define ErrorInvalidSeek 0x311
#define ErrorSignature 0x312
#define ErrorChecksum 0x313
#define ErrorInvalidCluster 0x314
#define ErrorInvalidFileName 0x315
#endif