VAPOR3 3.9.4
errorcodes.h
Go to the documentation of this file.
1//-- errorcodes.h ------------------------------------------------------------
2//
3// Copyright (C) 2004
4// University Corporation for Atmospheric Research
5// All Rights Reserved
6//
7//----------------------------------------------------------------------------
8//
9// File: errorcodes.h
10//
11// Author: Kenny Gruchalla
12// National Center for Atmospheric Research
13// PO 3000, Boulder, Colorado
14//
15// Date: August 2006
16//
17// Description: VAPoR error codes used for message reporting.
18//
19// The high-order bits of the codes are bit masked
20// providing type information: diagonstic, warning, error,
21// and fatal.
22//
23// For example, if (code & VAPoR::WARNING) then 'code'
24// is a warning type.
25//
26//----------------------------------------------------------------------------
27
28namespace VAPoR {
30 // VDF Errors: 0x1 - 0xFF: Handled specially:
31 // The Vaporgui application will not clear
32 // error codes less than 0xfff, until the
33 // error is later detected in the application.
34 // Any errors discovered in the application
35 // must be set with an error code > 0xfff, or
36 // the error will cause methods
37 // in the VDF library to fail.
40 // Diagnostic Codes 0x1001 - 0x1FFF
41 // Currently, diagnostic codes are not used
43
44 // Warning Codes 0x2001 - 0x2FFF
45 VAPOR_WARNING = 0x2000,
54
55 // Error Codes 0x4001 - 0x4FFF
56 VAPOR_ERROR = 0x4000,
74
75 // Flow errors
81
82 // Fatal Codes 0x8001 - 0x8FFF
83 VAPOR_FATAL = 0x8000
84};
85};
errorcodes
Definition: errorcodes.h:29
@ VAPOR_ERROR_GL_VENDOR
Definition: errorcodes.h:62
@ VAPOR_WARNING_SEEDS
Definition: errorcodes.h:48
@ VAPOR_WARNING_TWO_D
Definition: errorcodes.h:53
@ VAPOR_WARNING
Definition: errorcodes.h:45
@ VAPOR_ERROR_DATA_UNAVAILABLE
Definition: errorcodes.h:59
@ VAPOR_ERROR_FLOW_DATA
Definition: errorcodes.h:79
@ VAPOR_ERROR_SEEDS
Definition: errorcodes.h:77
@ VAPOR_ERROR_FLOW_SAVE
Definition: errorcodes.h:80
@ VAPOR_ERROR_GL_UNKNOWN_UNIFORM
Definition: errorcodes.h:58
@ VAPOR_WARNING_FLOW
Definition: errorcodes.h:47
@ VAPOR_WARNING_FLOW_STOP
Definition: errorcodes.h:50
@ VAPOR_ERROR_PARSING
Definition: errorcodes.h:71
@ VAPOR_ERROR_GL_SHADER
Definition: errorcodes.h:73
@ VAPOR_ERROR_IMAGE_CAPTURE
Definition: errorcodes.h:64
@ VAPOR_ERROR_PARAMS
Definition: errorcodes.h:67
@ VAPOR_ERROR_GL_RENDERING
Definition: errorcodes.h:57
@ VAPOR_ERROR_SCRIPTING
Definition: errorcodes.h:70
@ VAPOR_WARNING_GL_ERROR
Definition: errorcodes.h:52
@ VAPOR_ERROR_DATA_TOO_BIG
Definition: errorcodes.h:60
@ VAPOR_ERROR_SPHERICAL
Definition: errorcodes.h:65
@ VAPOR_FATAL
Definition: errorcodes.h:83
@ VAPOR_ERROR_TWO_D
Definition: errorcodes.h:68
@ VAPOR_ERROR_FLOW
Definition: errorcodes.h:76
@ VAPOR_ERROR_VDC_MERGE
Definition: errorcodes.h:72
@ VAPOR_ERROR_GEOREFERENCE
Definition: errorcodes.h:69
@ VAPOR_ERROR_DVR
Definition: errorcodes.h:63
@ VAPOR_ERROR_VDF
Definition: errorcodes.h:38
@ VAPOR_ERROR_XML
Definition: errorcodes.h:39
@ VAPOR_ERROR_DRIVER_FAILURE
Definition: errorcodes.h:61
@ VAPOR_ERROR_INTEGRATION
Definition: errorcodes.h:78
@ VAPOR_ERROR
Definition: errorcodes.h:56
@ VAPOR_WARNING_DATA_UNAVAILABLE
Definition: errorcodes.h:51
@ VAPOR_WARNING_FLOW_DATA
Definition: errorcodes.h:49
@ VAPOR_DIAGNOSTIC
Definition: errorcodes.h:42
@ VAPOR_ERROR_STRETCHED
Definition: errorcodes.h:66
@ VAPOR_WARNING_GL_SHADER_LOG
Definition: errorcodes.h:46