errors.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. /*
  2. * This file is part of the UCB release of Plan 9. It is subject to the license
  3. * terms in the LICENSE file found in the top-level directory of this
  4. * distribution and at http://akaros.cs.berkeley.edu/files/Plan9License. No
  5. * part of the UCB release of Plan 9, including this file, may be copied,
  6. * modified, propagated, or distributed except according to the terms contained
  7. * in the LICENSE file.
  8. */
  9. typedef enum Err{
  10. /* error_s */
  11. Eopen,
  12. Ecreate,
  13. Emenu,
  14. Emodified,
  15. Eio,
  16. Ewseq,
  17. /* error_c */
  18. Eunk,
  19. Emissop,
  20. Edelim,
  21. /* error */
  22. Efork,
  23. Eintr,
  24. Eaddress,
  25. Esearch,
  26. Epattern,
  27. Enewline,
  28. Eblank,
  29. Enopattern,
  30. EnestXY,
  31. Enolbrace,
  32. Enoaddr,
  33. Eoverlap,
  34. Enosub,
  35. Elongrhs,
  36. Ebadrhs,
  37. Erange,
  38. Esequence,
  39. Eorder,
  40. Enoname,
  41. Eleftpar,
  42. Erightpar,
  43. Ebadclass,
  44. Ebadregexp,
  45. Eoverflow,
  46. Enocmd,
  47. Epipe,
  48. Enofile,
  49. Etoolong,
  50. Echanges,
  51. Eempty,
  52. Efsearch,
  53. Emanyfiles,
  54. Elongtag,
  55. Esubexp,
  56. Etmpovfl,
  57. Eappend,
  58. Ecantplumb,
  59. Ebufload,
  60. }Err;
  61. typedef enum Warn{
  62. /* warn_s */
  63. Wdupname,
  64. Wfile,
  65. Wdate,
  66. /* warn_ss */
  67. Wdupfile,
  68. /* warn */
  69. Wnulls,
  70. Wpwd,
  71. Wnotnewline,
  72. Wbadstatus,
  73. }Warn;