Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/opencascade/OSD_ErrorList.hxx was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 // Copyright (c) 1998-1999 Matra Datavision
0002 // Copyright (c) 1999-2014 OPEN CASCADE SAS
0003 //
0004 // This file is part of Open CASCADE Technology software library.
0005 //
0006 // This library is free software; you can redistribute it and/or modify it under
0007 // the terms of the GNU Lesser General Public License version 2.1 as published
0008 // by the Free Software Foundation, with special exception defined in the file
0009 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0010 // distribution for complete text of the license and disclaimer of any warranty.
0011 //
0012 // Alternatively, this file may be used under the terms of Open CASCADE
0013 // commercial license or contractual agreement.
0014 
0015 #ifndef OSD_ErrorList_HeaderFile
0016 #define OSD_ErrorList_HeaderFile
0017 #include <OSD_WhoAmI.hxx>
0018 #include <errno.h>
0019 
0020 // List of OSD error codes
0021 
0022 #define ERR_SURPRISE -2
0023 // Error message management didn't follow code evolution
0024 
0025 #define ERR_UNKNOWN -1
0026 // Unknown system error
0027 
0028 #define ERR_NONE 0
0029 // No error
0030 
0031 // Errors common to alot of classes
0032 
0033 #define ERR_ACCESS 1
0034 #define ERR_EXIST 2
0035 #define ERR_FAULT 3
0036 #define ERR_INTR 4
0037 #define ERR_INVAL 5
0038 #define ERR_IO 6
0039 #define ERR_ISDIR 7
0040 #define ERR_NAMETOOLONG 8
0041 #define ERR_NOENT 9
0042 #define ERR_NOMEM 10
0043 #define ERR_NOTDIR 11
0044 #define ERR_PERM 12
0045 #define ERR_QUOT 13
0046 #define ERR_RANGE 14
0047 #define ERR_ROFS 15
0048 #define ERR_TOOBIG 16
0049 
0050 //------------------- Error list by class Family ------------------------
0051 
0052 // Class Directory
0053 
0054 #define ERR_DMLINK 17
0055 #define ERR_DNOENT 18
0056 
0057 // Class File
0058 
0059 #define ERR_FAGAIN 19
0060 #define ERR_FBADF 20
0061 #define ERR_FBADMSG 21
0062 #define ERR_FDEADLK 22
0063 #define ERR_FEXIST 23
0064 #define ERR_FFBIG 24
0065 #define ERR_FINVAL 25
0066 #define ERR_FIO 26
0067 #define ERR_FLOCKED 27
0068 #define ERR_FMFILE 28
0069 #define ERR_FNOLCK 29
0070 #define ERR_FPERM 30
0071 #define ERR_FRANGE 31
0072 #define ERR_FWFD 32
0073 
0074 // Class FileNode
0075 
0076 #define ERR_FNBUSY 33
0077 #define ERR_FNFILE 34
0078 #define ERR_FNINVAL 35
0079 #define ERR_FNOSPC 36
0080 #define ERR_FNNOTEMPTY 37
0081 #define ERR_FNXDEV 38
0082 
0083 // Package
0084 #define ERR_PPERM 50
0085 
0086 #endif