home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 October: Mac OS SDK / Dev.CD Oct 96 SDK / Dev.CD Oct 96 SDK2.toast / Development Kits (Disc 2) / OpenDoc / OpenDoc Development / Debugging Support / OpenDoc Source Code / Utilities / Interfaces / UtilErrs.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-04-22  |  1.3 KB  |  45 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        UtilErrs.h
  3.  
  4.     Contains:    Error codes for various OpenDoc utilities. The error codes are
  5.                 gathered together here in order to avoid numbering conflicts
  6.                 and to allow for reuse.
  7.  
  8.     Owned by:    Nick Pilch
  9.  
  10.     Copyright:    © 1995 by Apple Computer, Inc., all rights reserved.
  11.  
  12. */
  13.  
  14. #ifndef _UTILERRS_
  15. #define _UTILERRS_
  16.  
  17. #ifndef _ODTYPES_
  18. #include "ODTypes.h"
  19. #endif
  20.  
  21. //=====================================================================================
  22. // Error constants
  23. //=====================================================================================
  24.  
  25. const ODError kODErrSOMException        = -29849; // Except
  26.  
  27. const ODError kODErrFileClosed            = -29848; // PlfmFile
  28. const ODError kODErrFileOpened            = -29847; // PlfmFile
  29.  
  30. const ODError kODErrCantLoadSOMClass    = -29846; // ODNewObj
  31.  
  32. const ODError kODErrAssertionFailed        = -29845; // ODDebug
  33.  
  34. const ODError kODErrReadErr                = -29844; // BndNSUtl
  35. const ODError kODErrWriteErr               = -29843; // BndNSUtl
  36.  
  37. const ODError kODErrHashValueSizeTooBig = -29842; // AEHshTbl, SIHshTbl
  38.  
  39. const ODError kODErrInvalidKey          = -29841; // StrHshTb
  40.  
  41. const ODError kODErrShapeTooComplex     = -29840; // AltPoly: Polygon shape is too huge for QuickDraw
  42.  
  43. // Error codes up to -29830 are available for future expansion.
  44.  
  45. #endif /* _UTILERRS_ */