0031939: Coding - correction of spelling errors in comments [part 10]
[occt.git] / src / Storage / Storage_Error.hxx
1 // Created on: 1996-04-30
2 // Created by: cle
3 // Copyright (c) 1996-1999 Matra Datavision
4 // Copyright (c) 1999-2014 OPEN CASCADE SAS
5 //
6 // This file is part of Open CASCADE Technology software library.
7 //
8 // This library is free software; you can redistribute it and/or modify it under
9 // the terms of the GNU Lesser General Public License version 2.1 as published
10 // by the Free Software Foundation, with special exception defined in the file
11 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12 // distribution for complete text of the license and disclaimer of any warranty.
13 //
14 // Alternatively, this file may be used under the terms of Open CASCADE
15 // commercial license or contractual agreement.
16
17 #ifndef _Storage_Error_HeaderFile
18 #define _Storage_Error_HeaderFile
19
20 //! Error codes returned by the ErrorStatus
21 //! function on a Storage_Data set of data during a
22 //! storage or retrieval operation :
23 //! -   Storage_VSOk : no problem has been detected
24 //! -   Storage_VSOpenError : an error has
25 //! occurred when opening the driver
26 //! -   Storage_VSModeError : the driver has not
27 //! been opened in the correct mode
28 //! -   Storage_VSCloseError : an error has
29 //! occurred when closing the driver
30 //! -   Storage_VSAlreadyOpen : the driver is already open
31 //! -   Storage_VSNotOpen : the driver is not open
32 //! -   Storage_VSSectionNotFound : a section
33 //! has not been found in the driver
34 //! -   Storage_VSWriteError : an error occurred when writing the driver
35 //! -   Storage_VSFormatError : the file format is wrong
36 //! -   Storage_VSUnknownType : a type is not known from the schema
37 //! -   Storage_VSTypeMismatch : trying to read a wrong type
38 //! -   Storage_VSInternalError : an internal error has been detected
39 //! -   Storage_VSExtCharParityError : an error
40 //! has occurred while reading 16 bit character
41 enum Storage_Error
42 {
43 Storage_VSOk,
44 Storage_VSOpenError,
45 Storage_VSModeError,
46 Storage_VSCloseError,
47 Storage_VSAlreadyOpen,
48 Storage_VSNotOpen,
49 Storage_VSSectionNotFound,
50 Storage_VSWriteError,
51 Storage_VSFormatError,
52 Storage_VSUnknownType,
53 Storage_VSTypeMismatch,
54 Storage_VSInternalError,
55 Storage_VSExtCharParityError,
56 Storage_VSWrongFileDriver
57 };
58
59 #endif // _Storage_Error_HeaderFile