home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / Reference / DevCon / Atlanta_1990 / Atlanta-Devcon.2 / AppShell / examples / WatchMan / fn_error.h next >
Encoding:
C/C++ Source or Header  |  1992-08-26  |  1.1 KB  |  38 lines

  1. /* $Id$
  2.  *
  3.  * $Log$
  4.  */
  5.  
  6. #include <exec/types.h>
  7.  
  8. /* FN Handler error codes and error texttable */
  9.  
  10. #define FN_OK                   0
  11. #define FN_HANDLER_ERR          1
  12. #define FN_INIT_ERR             2
  13. #define FN_FILENAME_ERR         3
  14. #define FN_COMMAND_ERR          4
  15. #define FN_FLAGS_ERR            5
  16. #define FN_HASNOTIFICATION_ERR  6
  17. #define FN_DOESNOTEXIST_ERR     7
  18. #define FN_READ_ERR             8
  19. #define FN_NOMEM_ERR            9
  20. #define FN_UNKNOWN_ERR          10
  21. #define FN_NOTFILE_ERR          11
  22.  
  23. static UBYTE *FN_ErrorMsgs[] = {
  24.     NULL,
  25.     "Couldn't find Notification Handler",
  26.     "Couldn't start File Notification",
  27.     "File Notification Request failed:\nIllegal filename",
  28.     "File Notification Request failed:\nIllegal command",
  29.     "File Notification Request failed:\nIllegal flags",
  30.     "File Notification Request failed:\nFile already has notification",
  31.     "File Notification Request failed:\nFile does not exist",
  32.     "File Notification Request failed:\nRead error",
  33.     "File Notification Request failed:\nNo memory",
  34.     "File Notification Request failed:\nTarget unknown",
  35.     "File Notification Request failed:\nNot a file",
  36.     NULL
  37. };
  38.