revert commit 56204.
[AROS.git] / rom / filesys / afs / error.h
blob4c7fe79bc84401dfdbf1f44ba997dcd0c0b39b09
1 #ifndef ERROR_H
2 #define ERROR_H
4 /*
5 Copyright © 1995-2011, The AROS Development Team. All rights reserved.
6 $Id$
7 */
8 /*
9 * -date------ -name------------------- -description-----------------------------
10 * 02-jan-2008 [Tomasz Wiszkowski] added disk check option for broken disks
15 * The various error codes, that can be used as index in texts[], below.
17 enum {
18 ERR_NONE,
19 ERR_IOPORT,
20 ERR_DEVICE,
21 ERR_DOSENTRY,
22 ERR_DISKNOTVALID,
23 ERR_WRONG_DATA_BLOCK,
24 ERR_CHECKSUM, // block errors
25 ERR_MISSING_BITMAP_BLOCKS,
26 ERR_BLOCKTYPE,
27 ERR_READWRITE,
28 ERR_POSSIBLY_NOT_AFS,
29 ERR_BLOCK_USED_TWICE,
30 ERR_BLOCK_OUTSIDE_RANGE,
31 ERR_DATA_LOSS_POSSIBLE,
32 ERR_WRITEPROTECT,
33 ERR_ALREADY_PRINTED, // That is, this error has already been reported elsewhere.
34 ERR_UNKNOWN
38 * showReqType matches adequate option[] in showPtrArgsText.
40 enum showReqType
42 Req_Cancel = 0,
43 Req_RetryCancel,
44 Req_CheckCancel,
45 Req_ContinueCancel,
46 Req_Continue
49 #endif