Back to index

tetex-bin  3.0
ErrorCodes.h
Go to the documentation of this file.
00001 //========================================================================
00002 //
00003 // ErrorCodes.h
00004 //
00005 // Copyright 2002-2003 Glyph & Cog, LLC
00006 //
00007 //========================================================================
00008 
00009 #ifndef ERRORCODES_H
00010 #define ERRORCODES_H
00011 
00012 #define errNone             0      // no error
00013 
00014 #define errOpenFile         1      // couldn't open the PDF file
00015 
00016 #define errBadCatalog       2      // couldn't read the page catalog
00017 
00018 #define errDamaged          3      // PDF file was damaged and couldn't be
00019                             // repaired
00020 
00021 #define errEncrypted        4      // file was encrypted and password was
00022                             // incorrect or not supplied
00023 
00024 #define errHighlightFile    5      // nonexistent or invalid highlight file
00025 
00026 #define errBadPrinter       6   // invalid printer
00027 
00028 #define errPrinting         7   // error during printing
00029 
00030 #define errPermission       8      // PDF file doesn't allow that operation
00031 
00032 #define errBadPageNum       9      // invalid page number
00033 
00034 #define errFileIO          10   // file I/O error
00035 
00036 #endif