add remtask before addtask
[AROS.git] / rom / filesys / afs / error.h
blob16dfa4ef916bc274413e6478841b8017c319be47
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
14 #include "os.h"
17 * The various error codes, that can be used as index in texts[], below.
19 enum {
20 ERR_NONE,
21 ERR_IOPORT,
22 ERR_DEVICE,
23 ERR_DOSENTRY,
24 ERR_DISKNOTVALID,
25 ERR_WRONG_DATA_BLOCK,
26 ERR_CHECKSUM, // block errors
27 ERR_MISSING_BITMAP_BLOCKS,
28 ERR_BLOCKTYPE,
29 ERR_READWRITE,
30 ERR_POSSIBLY_NOT_AFS,
31 ERR_BLOCK_USED_TWICE,
32 ERR_BLOCK_OUTSIDE_RANGE,
33 ERR_DATA_LOSS_POSSIBLE,
34 ERR_WRITEPROTECT,
35 ERR_ALREADY_PRINTED, // That is, this error has already been reported elsewhere.
36 ERR_UNKNOWN
40 * showReqType matches adequate option[] in showPtrArgsText.
42 enum showReqType
44 Req_Cancel = 0,
45 Req_RetryCancel,
46 Req_CheckCancel,
47 Req_ContinueCancel,
48 Req_Continue
51 #endif