1 // Copyright (c) 1998-1999 Matra Datavision
2 // Copyright (c) 1999-2014 OPEN CASCADE SAS
4 // This file is part of Open CASCADE Technology software library.
6 // This library is free software; you can redistribute it and / or modify it
7 // under the terms of the GNU Lesser General Public version 2.1 as published
8 // by the Free Software Foundation, with special exception defined in the file
9 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
10 // distribution for complete text of the license and disclaimer of any warranty.
12 // Alternatively, this file may be used under the terms of Open CASCADE
13 // commercial license or contractual agreement.
15 #ifndef List_Of_Errors
16 #define List_Of_Errors
17 #include <OSD_WhoAmI.hxx>
20 // List of OSD error codes
22 #define ERR_SURPRISE -2
23 // Error message management didn't follow code evolution
25 #define ERR_UNKNOWN -1
26 // Unknown system error
31 // Errors common to alot of classes
40 #define ERR_NAMETOOLONG 8
50 //------------------- Error list by class Family ------------------------
61 #define ERR_FBADMSG 21
62 #define ERR_FDEADLK 22
67 #define ERR_FLOCKED 27
78 #define ERR_FNINVAL 35
80 #define ERR_FNNOTEMPTY 37