MISR Toolkit
1.5.1
win64
HDF_4.2.14
include
herr.h
Go to the documentation of this file.
1
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
2
* Copyright by The HDF Group. *
3
* Copyright by the Board of Trustees of the University of Illinois. *
4
* All rights reserved. *
5
* *
6
* This file is part of HDF. The full HDF copyright notice, including *
7
* terms governing use, modification, and redistribution, is contained in *
8
* the COPYING file, which can be found at the root of the source code *
9
* distribution tree, or in https://support.hdfgroup.org/ftp/HDF/releases/. *
10
* If you do not have access to either file, you may request a copy from *
11
* help@hdfgroup.org. *
12
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
13
14
/* $Id$ */
15
16
/*+ herr.h
17
*** header file for using error routines
18
*** to be included by all ".c" files
19
+ */
20
21
#ifndef __HERR_H
22
#define __HERR_H
23
24
/* if these symbols are not provided by the compiler, we'll have to
25
fake them. These are used in HERROR for recording location of
26
error in code. */
27
28
#ifndef __FILE__
29
# define __FILE__ "File name not supported"
30
#endif
31
#ifndef __LINE__
32
# define __LINE__ 0
33
#endif
34
35
/* HERROR macro, used to facilitate error reporting. Assumes that
36
there's a variable called FUNC which holds the function name.
37
Assume that func and file are both stored in static space, or at
38
least be not corrupted in the meanwhile. */
39
40
#define HERROR(e) HEpush(e, FUNC, __FILE__, __LINE__)
41
42
/* HRETURN_ERROR macro, used to facilitate error reporting. Makes
43
same assumptions as HERROR. IN ADDITION, this macro causes
44
a return from the calling routine */
45
46
#define HRETURN_ERROR(err, ret_val) {HERROR(err); return(ret_val);}
47
48
/* HCLOSE_RETURN_ERROR macro, used to facilitate error reporting. Makes
49
same assumptions as HRETURN_ERROR. IN ADDITION, this macro causes
50
the file specified by the id "fid" to be closed */
51
52
#define HCLOSE_RETURN_ERROR(hfid, err, ret_val) {HERROR(err); Hclose(hfid); \
53
return(ret_val);}
54
55
/* HGOTO_ERROR macro, used to facilitate error reporting. Makes
56
same assumptions as HERROR. IN ADDITION, this macro causes
57
a jump to the label 'done' which should be in every fucntion
58
Also there is an assumption of a variable 'ret_value' */
59
60
#define HGOTO_ERROR(err, ret_val) {HERROR(err); ret_value = ret_val; \
61
goto done;}
62
63
/* HCLOSE_RETURN_ERROR macro, used to facilitate error reporting. Makes
64
same assumptions as HRETURN_ERROR. IN ADDITION, this macro causes
65
the file specified by the id "fid" to be closed
66
Also , this macro causes a jump to the label 'done' which should
67
be in every fucntion. There is an assumption of a variable 'ret_value' */
68
69
#define HCLOSE_GOTO_ERROR(hfid, err, ret_val) {HERROR(err); Hclose(hfid); \
70
ret_value = ret_val; goto done;}
71
72
/* HGOTO_DONE macro, used to facilitate the new error reporting model.
73
This macro is just a wrapper to set the return value and jump to the 'done'
74
label. Also assumption of a variable 'ret_value' */
75
76
#define HGOTO_DONE(ret_val) {ret_value = ret_val; goto done;}
77
78
/* For further error reporting */
79
#define HE_REPORT(msg) HEreport(msg)
80
#define HE_REPORT_RETURN(msg, ret_val) { HEreport(msg); return(ret_val); }
81
#define HE_CLOSE_REPORT_RETURN(hfid,msg, ret_val) { HEreport(msg); \
82
Hclose(hfid); \
83
return(ret_val);}
84
85
#define HE_REPORT_GOTO(msg, ret_val) { HEreport(msg); ret_value = ret_val; \
86
goto done;}
87
#define HE_CLOSE_REPORT_GOTO(hfid,msg, ret_val) { HEreport(msg); \
88
Hclose(hfid); \
89
ret_value = ret_val; \
90
goto done;}
91
92
93
/* always points to the next available slot; the last error record is in slot (top-1) */
94
#if defined(H4_BUILT_AS_DYNAMIC_LIB)
95
# ifdef _H_ERR_MASTER_
96
# if defined _WIN32 && defined hdf_shared_EXPORTS
97
__declspec(dllexport)
98
# endif
99
# else
100
HDFERRPUBLIC
101
# endif
/* _H_ERR_MASTER_ */
102
int32
error_top
103
# ifdef _H_ERR_MASTER_
104
= 0
105
# endif
/* _H_ERR_MASTER_ */
106
;
107
#else
/* defined(H4_BUILT_AS_DYNAMIC_LIB) */
108
# ifndef _H_ERR_MASTER_
109
HDFERRPUBLIC
110
# endif
/* _H_ERR_MASTER_ */
111
int32 error_top
112
# ifdef _H_ERR_MASTER_
113
= 0
114
# endif
/* _H_ERR_MASTER_ */
115
;
116
#endif
/* defined(H4_BUILT_AS_DYNAMIC_LIB) */
117
118
/* Macro to wrap around calls to HEPclear, so it doesn't get called zillions of times */
119
#define HEclear() {if(error_top!=0) HEPclear(); }
120
121
/*
122
======================================================================
123
Error codes
124
125
NOTE: Remember to update the error_messages[] structure in herr.c
126
whenever errors are added/deleted from this list.
127
======================================================================
128
*/
129
/* Declare an enumerated type which holds all the valid HDF error codes */
130
typedef
enum
131
{
132
DFE_NONE
= 0,
/* special zero, no error */
133
/* Low-level I/O errors */
134
DFE_FNF
,
/* File not found */
135
DFE_DENIED
,
/* Access to file denied */
136
DFE_ALROPEN
,
/* File already open */
137
DFE_TOOMANY
,
/* Too Many AID's or files open */
138
DFE_BADNAME
,
/* Bad file name on open */
139
DFE_BADACC
,
/* Bad file access mode */
140
DFE_BADOPEN
,
/* Other open error */
141
DFE_NOTOPEN
,
/* File can't be closed 'cause it isn't open */
142
DFE_CANTCLOSE
,
/* fclose wouldn't work! */
143
DFE_READERROR
,
/* There was a read error */
144
DFE_WRITEERROR
,
/* There was a write error */
145
DFE_SEEKERROR
,
/* There was a seek error */
146
DFE_RDONLY
,
/* The DF is read only */
147
DFE_BADSEEK
,
/* Attempt to seek past end of element */
148
DFE_INVFILE
,
/* File is neither hdf, cdf, netcdf */
149
150
/* Low-level HDF I/O errors */
151
DFE_PUTELEM
,
/* Hputelement failed in some way */
152
DFE_GETELEM
,
/* Hgetelement failed in some way */
153
DFE_CANTLINK
,
/* Can't initialize link information */
154
DFE_CANTSYNC
,
/* Cannot syncronize memory with file */
155
156
/* Old group interface errors */
157
DFE_BADGROUP
,
/* Error from DFdiread in opening a group */
158
DFE_GROUPSETUP
,
/* Error from DFdisetup in opening a group */
159
DFE_PUTGROUP
,
/* Error when putting a tag/ref into a group */
160
DFE_GROUPWRITE
,
/* Error when writing out a group */
161
162
/* Internal HDF errors */
163
DFE_DFNULL
,
/* DF is a null pointer */
164
DFE_ILLTYPE
,
/* DF has an illegal type: internal error */
165
DFE_BADDDLIST
,
/* The DD list is non-existent: internal error */
166
DFE_NOTDFFILE
,
/* This is not a DF file and it is not 0 length */
167
DFE_SEEDTWICE
,
/* The DD list already seeded: internal error */
168
DFE_NOSUCHTAG
,
/* No such tag in the file: search failed */
169
DFE_NOFREEDD
,
/* There are no free DD's left: internal error */
170
DFE_BADTAG
,
/* illegal WILDCARD tag */
171
DFE_BADREF
,
/* illegal WILDCARD reference # */
172
DFE_NOMATCH
,
/* No (more) DDs which match specified tag/ref */
173
DFE_NOTINSET
,
/* Warning: Set contained unknown tag: ignored */
174
DFE_BADOFFSET
,
/* Illegal offset specified */
175
DFE_CORRUPT
,
/* File is corrupted */
176
DFE_NOREF
,
/* no more reference numbers are available */
177
DFE_DUPDD
,
/* the new tag/ref is already used */
178
DFE_CANTMOD
,
/* old element not exist, cannot modify */
179
DFE_DIFFFILES
,
/* Attempt to merge objs in diff files */
180
DFE_BADAID
,
/* Got a bogus aid */
181
DFE_OPENAID
,
/* There are still active AIDs */
182
DFE_CANTFLUSH
,
/* Can't flush DD back to file */
183
DFE_CANTUPDATE
,
/* Cannot update the DD block */
184
DFE_CANTHASH
,
/* Cannot add a DD to the hash table */
185
DFE_CANTDELDD
,
/* Cannot delete a DD in the file */
186
DFE_CANTDELHASH
,
/* Cannot delete a DD from the hash table */
187
DFE_CANTACCESS
,
/* Cannot access specified tag/ref */
188
DFE_CANTENDACCESS
,
/* Cannot end access to data element */
189
DFE_TABLEFULL
,
/* Access table is full */
190
DFE_NOTINTABLE
,
/* Cannot find element in table */
191
192
/* Generic errors */
193
DFE_UNSUPPORTED
,
/* Feature not currently supported */
194
DFE_NOSPACE
,
/* Malloc failed */
195
DFE_BADCALL
,
/* Calls in wrong order */
196
DFE_BADPTR
,
/* NULL ptr argument */
197
DFE_BADLEN
,
/* Invalid len specified */
198
DFE_NOTENOUGH
,
/* space provided insufficient for size of data */
199
DFE_NOVALS
,
/* Values not available */
200
DFE_ARGS
,
/* bad arguments to routine */
201
DFE_INTERNAL
,
/* serious internal error */
202
DFE_NORESET
,
/* Too late to modify this value */
203
DFE_EXCEEDMAX
,
/* Value exceeds max allowed */
204
DFE_GENAPP
,
/* Generic application,level error */
205
206
/* Generic interface errors */
207
DFE_UNINIT
,
/* Interface was not initialized correctly */
208
DFE_CANTINIT
,
/* Can't initialize an interface we depend on */
209
DFE_CANTSHUTDOWN
,
/* Can't shut down an interface we depend on */
210
211
/* General Dataset errors */
212
DFE_BADDIM
,
/* negative or zero dimensions specified */
213
DFE_BADFP
,
/* File contained an illegal floating point num */
214
DFE_BADDATATYPE
,
/* unknown or unavailable data type specified */
215
DFE_BADMCTYPE
,
/* unknown or unavailable machine type specified */
216
DFE_BADNUMTYPE
,
/* unknown or unavailable number type specified */
217
DFE_BADORDER
,
/* unknown or illegal array order specified */
218
DFE_RANGE
,
/* improper range for attempted acess */
219
DFE_BADCONV
,
/* Don't know how to convert data type */
220
DFE_BADTYPE
,
/* Incompatible types specified */
221
DFE_BADDIMNAME
,
/* Dimension name not valid or already taken */
222
DFE_NOVGREP
,
/* No Vgroup representation for SDS and dim */
223
224
/* Compression errors */
225
DFE_BADSCHEME
,
/* Unknown compression scheme specified */
226
DFE_BADMODEL
,
/* Invalid compression model specified */
227
DFE_BADCODER
,
/* Invalid compression encoder specified */
228
DFE_MODEL
,
/* Error in modeling layer of compression */
229
DFE_CODER
,
/* Error in encoding layer of compression */
230
DFE_CINIT
,
/* Error in encoding initialization */
231
DFE_CDECODE
,
/* Error in decoding compressed data */
232
DFE_CENCODE
,
/* Error in encoding compressed data */
233
DFE_CTERM
,
/* Error in encoding termination */
234
DFE_CSEEK
,
/* Error seekging in encoded dataset */
235
DFE_MINIT
,
/* Error in modeling initialization */
236
DFE_COMPINFO
,
/* Invalid compression header */
237
DFE_CANTCOMP
,
/* Can't compress an object */
238
DFE_CANTDECOMP
,
/* Can't de-compress an object */
239
DFE_NOENCODER
,
/* Encoder not available */
240
DFE_NOSZLIB
,
/* SZIP library not available */
241
DFE_COMPVERSION
,
/* Z_VERSION_ERROR (-6) returned from zlib */
242
DFE_READCOMP
,
/* Error in reading compressed data; this
243
error occurs when one of the following
244
error codes is returned from zlib:
245
Z_ERRNO (-1)
246
Z_STREAM_ERROR (-2)
247
Z_DATA_ERROR (-3)
248
Z_MEM_ERROR (-4)
249
Z_BUF_ERROR (-5) */
250
251
/* Raster errors */
252
DFE_NODIM
,
/* No dimension record associated with image */
253
DFE_BADRIG
,
/* Error processing a RIG */
254
DFE_RINOTFOUND
,
/* Can't find raster image */
255
DFE_BADATTR
,
/* Bad Attribute */
256
DFE_LUTNOTFOUND
,
/* No palette information for RIG */
257
DFE_GRNOTFOUND
,
/* Can't find specified GR */
258
259
/* SDG/NDG errors */
260
DFE_BADTABLE
,
/* the nsdg table is wrong */
261
DFE_BADSDG
,
/* error processing an sdg */
262
DFE_BADNDG
,
/* error processing an ndg */
263
264
/* Vset errors */
265
DFE_VGSIZE
,
/* Too many elements in VGroup */
266
DFE_VTAB
,
/* Elmt not in vtab[] */
267
DFE_CANTADDELEM
,
/* Cannot add tag/ref to VGroup */
268
DFE_BADVGNAME
,
/* Cannot set VGroup name */
269
DFE_BADVGCLASS
,
/* Cannot set VGroup class */
270
271
/* Vdata errors */
272
DFE_BADFIELDS
,
/* Bad fields string passed to Vset routine */
273
DFE_NOVS
,
/* Counldn't find VS in file */
274
DFE_SYMSIZE
,
/* Too many symbols in users table */
275
DFE_BADATTACH
,
/* Cannot write to a previously attached VData */
276
DFE_BADVSNAME
,
/* Cannot set VData name */
277
DFE_BADVSCLASS
,
/* Cannot set VData class */
278
DFE_VSWRITE
,
/* Error writing to VData */
279
DFE_VSREAD
,
/* Error reading from VData */
280
DFE_BADVH
,
/* Error in VData Header */
281
DFE_FIELDSSET
,
/* Fields already set for vdata */
282
283
/* High-level Vdata/Vset errors */
284
DFE_VSCANTCREATE
,
/* Cannot create VData */
285
DFE_VGCANTCREATE
,
/* Cannot create VGroup */
286
287
/* Generic Vdata/Vset errors */
288
DFE_CANTATTACH
,
/* Cannot attach to a VData/Vset */
289
DFE_CANTDETACH
,
/* Cannot detach a VData/Vset with access 'w' */
290
291
/* XDR level errors */
292
DFE_XDRERROR
,
/* Error occur in XDR and/or CDF level */
293
294
/* bit I/O errors */
295
DFE_BITREAD
,
/* There was a bit-read error */
296
DFE_BITWRITE
,
/* There was a bit-write error */
297
DFE_BITSEEK
,
/* There was a bit-seek error */
298
299
/* tbbt interface errors */
300
DFE_TBBTINS
,
/* Failed to insert element into tree */
301
302
/* bit-vector interface errors */
303
DFE_BVNEW
,
/* Failed to create a bit-vector */
304
DFE_BVSET
,
/* Failed when setting a bit in a bit-vector */
305
DFE_BVGET
,
/* Failed when getting a bit in a bit-vector */
306
DFE_BVFIND
,
/* Failed when finding a bit in a bit-vector */
307
308
/* General to all interfaces */
309
DFE_CANTSETATTR
,
/* Failed to add an attribute */
310
DFE_CANTGETATTR
,
/* Failed to find or get an attribute */
311
312
/* Annotation interface errors */
313
DFE_ANAPIERROR
/* Failed in annotation interface */
314
}
315
hdf_err_code_t
;
316
317
#ifdef _H_ERR_MASTER_
318
319
/* error_messages is the list of error messages in the system, kept as
320
error_code-message pairs. To look up a message, a linear search is
321
required but efficiency should be okay. */
322
323
typedef
struct
error_messages_t
324
{
325
hdf_err_code_t error_code;
326
const
char
*str;
327
}
328
error_messages_t;
329
330
PRIVATE
const
struct
error_messages_t error_messages[] =
331
{
332
{
DFE_NONE
,
"No error"
},
333
/* Low-level I/O errors */
334
{
DFE_FNF
,
"File not found"
},
335
{
DFE_DENIED
,
"Access to file denied"
},
336
{
DFE_ALROPEN
,
"File already open"
},
337
{
DFE_TOOMANY
,
"Too Many AID's or files open"
},
338
{
DFE_BADNAME
,
"Bad file name on open"
},
339
{
DFE_BADACC
,
"Bad file access mode"
},
340
{
DFE_BADOPEN
,
"Error opening file"
},
341
{
DFE_NOTOPEN
,
"File can't be closed; It isn't open"
},
342
{
DFE_CANTCLOSE
,
"Unable to close file"
},
343
{
DFE_READERROR
,
"Read error"
},
344
{
DFE_WRITEERROR
,
"Write error"
},
345
{
DFE_SEEKERROR
,
"Error performing seek operation"
},
346
{
DFE_RDONLY
,
"Attempt to write to read-only HDF file"
},
347
{
DFE_BADSEEK
,
"Attempt to seek past end of element"
},
348
{
DFE_INVFILE
,
"File is supported, must be either hdf, cdf, netcdf"
},
349
350
/* Low-level HDF I/O errors */
351
{
DFE_PUTELEM
,
"Hputelement failed in some way"
},
352
{
DFE_GETELEM
,
"Hgetelement failed in some way"
},
353
{
DFE_CANTLINK
,
"Can't initialize link information"
},
354
{
DFE_CANTSYNC
,
"Cannot syncronize memory with file"
},
355
356
/* Old group interface errors */
357
{
DFE_BADGROUP
,
"Error from DFdiread in opening a group"
},
358
{
DFE_GROUPSETUP
,
"Error from DFdisetup in opening a group"
},
359
{
DFE_PUTGROUP
,
"Error when putting a tag/ref into a group"
},
360
{
DFE_GROUPWRITE
,
"Error when writing out a group"
},
361
362
/* Internal HDF errors */
363
{
DFE_DFNULL
,
"DF has a null pointer"
},
364
{
DFE_ILLTYPE
,
"Internal error: DF has an illegal type"
},
365
{
DFE_BADDDLIST
,
"Internal error: The DD list is non-existent"
},
366
{
DFE_NOTDFFILE
,
"This is not an HDF file"
},
367
{
DFE_SEEDTWICE
,
"Internal error: The DD list is already seeded"
},
368
{
DFE_NOSUCHTAG
,
"No such tag in the file: search failed"
},
369
{
DFE_NOFREEDD
,
"There are no free DD's left"
},
370
{
DFE_BADTAG
,
"Illegal WILDCARD tag"
},
371
{
DFE_BADREF
,
"Illegal WILDCARD reference"
},
372
{
DFE_NOMATCH
,
"No (more) DDs which match specified tag/ref"
},
373
{
DFE_NOTINSET
,
"Set contained unknown tag: ignored"
},
374
{
DFE_BADOFFSET
,
"Illegal offset specified"
},
375
{
DFE_CORRUPT
,
"File is corrupted"
},
376
{
DFE_NOREF
,
"No more reference numbers are available"
},
377
{
DFE_DUPDD
,
"Tag/ref is already used"
},
378
{
DFE_CANTMOD
,
"Old element does not exist, cannot modify"
},
379
{
DFE_DIFFFILES
,
"Attempt to merge objects in different files"
},
380
{
DFE_BADAID
,
"Unable to create a new AID"
},
381
{
DFE_OPENAID
,
"There are still active AIDs"
},
382
{
DFE_CANTFLUSH
,
"Cannot flush the changed DD back to the file"
},
383
{
DFE_CANTUPDATE
,
"Cannot update the DD block"
},
384
{
DFE_CANTHASH
,
"Cannot add a DD to the hash table"
},
385
{
DFE_CANTDELDD
,
"Cannot delete a DD in the file"
},
386
{
DFE_CANTDELHASH
,
"Cannot delete a DD from the hash table"
},
387
{
DFE_CANTACCESS
,
"Cannot access specified tag/ref"
},
388
{
DFE_CANTENDACCESS
,
"Cannot end access to data element"
},
389
{
DFE_TABLEFULL
,
"Access table is full"
},
390
{
DFE_NOTINTABLE
,
"Cannot find element in table"
},
391
392
/* Generic errors */
393
{
DFE_UNSUPPORTED
,
"Feature not currently supported"
},
394
{
DFE_NOSPACE
,
"Internal error: Out of space"
},
395
{
DFE_BADCALL
,
"Calls in wrong order"
},
396
{
DFE_BADPTR
,
"NULL ptr argument"
},
397
{
DFE_BADLEN
,
"Invalid length specified"
},
398
{
DFE_NOTENOUGH
,
"Space provided insufficient for size of data"
},
399
{
DFE_NOVALS
,
"Values not available"
},
400
{
DFE_ARGS
,
"Invalid arguments to routine"
},
401
{
DFE_INTERNAL
,
"HDF Internal error"
},
402
{
DFE_NORESET
,
"Can not reset this value"
},
403
{
DFE_EXCEEDMAX
,
"Value exceeds max allowed"
},
404
{
DFE_GENAPP
,
"Generic application-level error"
},
405
406
/* Generic interface errors */
407
{
DFE_UNINIT
,
"Interface was not initialized correctly"
},
408
{
DFE_CANTINIT
,
"Can't initialize an interface we depend on"
},
409
{
DFE_CANTSHUTDOWN
,
"Can't shut down an interface we depend on"
},
410
411
/* Dataset errors */
412
{
DFE_BADDIM
,
"Negative or zero dimensions specified"
},
413
{
DFE_BADFP
,
"File contained an illegal floating point number"
},
414
{
DFE_BADDATATYPE
,
"Unknown or unavailable data type specified"
},
415
{
DFE_BADMCTYPE
,
"Unknown or unavailable machine type specified"
},
416
{
DFE_BADNUMTYPE
,
"Unknown or unavailable number type specified"
},
417
{
DFE_BADORDER
,
"Unknown or illegal array order specified"
},
418
{
DFE_RANGE
,
"Improper range for attempted access"
},
419
{
DFE_BADCONV
,
"Don't know how to convert data type"
},
420
{
DFE_BADTYPE
,
"Incompatible type specified"
},
421
{
DFE_BADDIMNAME
,
"Dimension name not valid or already taken"
},
422
{
DFE_NOVGREP
,
"No Vgroup representation for SDS and dim"
},
423
424
/* Compression errors */
425
{
DFE_BADSCHEME
,
"Unknown compression scheme specified"
},
426
{
DFE_BADMODEL
,
"Invalid compression model specified"
},
427
{
DFE_BADCODER
,
"Invalid compression coder specified"
},
428
{
DFE_MODEL
,
"Error in modeling layer of compression"
},
429
{
DFE_CODER
,
"Error in encoding layer of compression"
},
430
{
DFE_CINIT
,
"Error in encoding initialization"
},
431
{
DFE_CDECODE
,
"Error in decoding compressed data"
},
432
{
DFE_CENCODE
,
"Error in encoding compressed data"
},
433
{
DFE_CTERM
,
"Error in encoding termination"
},
434
{
DFE_CSEEK
,
"Error seeking in encoded dataset"
},
435
{
DFE_MINIT
,
"Error in modeling initialization"
},
436
{
DFE_COMPINFO
,
"Invalid compression header"
},
437
{
DFE_CANTCOMP
,
"Can't compress an object"
},
438
{
DFE_CANTDECOMP
,
"Can't de-compress an object"
},
439
{
DFE_NOENCODER
,
"Encoder not available"
},
440
{
DFE_NOSZLIB
,
"SZIP library not available"
},
441
{
DFE_COMPVERSION
,
"Z_VERSION_ERROR (-6) returned from zlib"
},
442
{
DFE_READCOMP
,
"Error in reading compressed data"
},
443
444
/* Raster errors */
445
{
DFE_NODIM
,
"No dimension record associated with image or data set"
},
446
{
DFE_BADRIG
,
"Error processing a RIG"
},
447
{
DFE_RINOTFOUND
,
"Can't find raster image"
},
448
{
DFE_BADATTR
,
"Bad Attribute"
},
449
{
DFE_LUTNOTFOUND
,
"No palette information for RIG"
},
450
{
DFE_GRNOTFOUND
,
"Can't find specified GR"
},
451
452
/* SDG/NDG errors */
453
{
DFE_BADTABLE
,
"The nsdg table is wrong"
},
454
{
DFE_BADSDG
,
"Error processing an sdg"
},
455
{
DFE_BADNDG
,
"Error processing an ndg"
},
456
457
/* Vset errors */
458
{
DFE_VGSIZE
,
"No more elements will fit in this VGroup"
},
459
{
DFE_VTAB
,
"Element is not in VSet tables"
},
460
{
DFE_CANTADDELEM
,
"Cannot add tag/ref to VGroup"
},
461
{
DFE_BADVGNAME
,
"Cannot set VGroup name"
},
462
{
DFE_BADVGCLASS
,
"Cannot set VGroup class"
},
463
464
/* Vdata errors */
465
{
DFE_BADFIELDS
,
"Unable to parse fields string correctly"
},
466
{
DFE_NOVS
,
"Could not find specified VS or VG in file"
},
467
{
DFE_SYMSIZE
,
"Too many symbols in table"
},
468
{
DFE_BADATTACH
,
"Cannot write to a previously attached VData"
},
469
{
DFE_BADVSNAME
,
"Cannot set VData name"
},
470
{
DFE_BADVSCLASS
,
"Cannot set VData class"
},
471
{
DFE_VSWRITE
,
"Error writing to VData"
},
472
{
DFE_VSREAD
,
"Error reading from VData"
},
473
{
DFE_BADVH
,
"Error in VData Header"
},
474
{
DFE_FIELDSSET
,
"Fields already set for vdata"
},
475
476
/* High-level Vdata/Vset errors */
477
{
DFE_VSCANTCREATE
,
"Cannot create VData"
},
478
{
DFE_VGCANTCREATE
,
"Cannot create VGroup"
},
479
480
/* Generic Vdata/Vset errors */
481
{
DFE_CANTATTACH
,
"Cannot attach to a VData"
},
482
{
DFE_CANTDETACH
,
"Cannot detach a VData with access 'w'"
},
483
484
/* XDR level errors */
485
{
DFE_XDRERROR
,
"Error from XDR and/or CDF level"
},
486
487
/* bit I/O errors */
488
{
DFE_BITREAD
,
"There was a bit-read error"
},
489
{
DFE_BITWRITE
,
"There was a bit-write error"
},
490
{
DFE_BITSEEK
,
"There was a bit-seek error"
},
491
492
/* tbbt interface errors */
493
{
DFE_TBBTINS
,
"Failed to insert element into tree"
},
494
495
/* bit-vector interface errors */
496
{
DFE_BVNEW
,
"Failed to create a bit-vector"
},
497
{
DFE_BVSET
,
"Failed when setting a bit in a bit-vector"
},
498
{
DFE_BVGET
,
"Failed when getting a bit in a bit-vector"
},
499
{
DFE_BVFIND
,
"Failed when finding a bit in a bit-vector"
},
500
501
/* General to all interfaces */
502
{
DFE_CANTSETATTR
,
"Cannot set an attribute"
},
503
{
DFE_CANTGETATTR
,
"Cannot find or get an attribute"
},
504
505
/* Annotation interface errors */
506
{
DFE_ANAPIERROR
,
"Failed in annotation interface"
}
507
508
};
509
#endif
/* _H_ERR_MASTER_ */
510
511
#endif
/* __HERR_H */
DFE_NOVS
Definition:
herr.h:278
DFE_VGCANTCREATE
Definition:
herr.h:289
PRIVATE
#define PRIVATE
Definition:
hdf.h:117
DFE_BADCONV
Definition:
herr.h:225
DFE_ARGS
Definition:
herr.h:207
DFE_BADNUMTYPE
Definition:
herr.h:222
DFE_CANTGETATTR
Definition:
herr.h:310
DFE_VSREAD
Definition:
herr.h:284
DFE_CANTDELHASH
Definition:
herr.h:193
DFE_BITSEEK
Definition:
herr.h:298
DFE_VSWRITE
Definition:
herr.h:283
DFE_BADVGCLASS
Definition:
herr.h:274
DFE_NOVGREP
Definition:
herr.h:227
DFE_VTAB
Definition:
herr.h:271
DFE_CANTDECOMP
Definition:
herr.h:243
DFE_NOMATCH
Definition:
herr.h:179
DFE_BADOPEN
Definition:
herr.h:148
DFE_NOSPACE
Definition:
herr.h:201
DFE_BADGROUP
Definition:
herr.h:164
DFE_BADNAME
Definition:
herr.h:146
HDFERRPUBLIC
#define HDFERRPUBLIC
Definition:
H4api_adpt.h:168
DFE_RINOTFOUND
Definition:
herr.h:259
DFE_NOTOPEN
Definition:
herr.h:149
DFE_BADACC
Definition:
herr.h:147
DFE_TBBTINS
Definition:
herr.h:301
DFE_CANTDELDD
Definition:
herr.h:192
DFE_BADFP
Definition:
herr.h:219
DFE_DENIED
Definition:
herr.h:143
DFE_INVFILE
Definition:
herr.h:148
DFE_BADDATATYPE
Definition:
herr.h:220
DFE_CINIT
Definition:
herr.h:235
DFE_GETELEM
Definition:
herr.h:159
DFE_NOTINSET
Definition:
herr.h:180
DFE_TOOMANY
Definition:
herr.h:145
DFE_TABLEFULL
Definition:
herr.h:196
DFE_BADVSCLASS
Definition:
herr.h:282
DFE_NODIM
Definition:
herr.h:257
DFE_CANTENDACCESS
Definition:
herr.h:195
DFE_NOENCODER
Definition:
herr.h:244
DFE_XDRERROR
Definition:
herr.h:292
DFE_CANTATTACH
Definition:
herr.h:292
DFE_BVSET
Definition:
herr.h:305
DFE_BADORDER
Definition:
herr.h:223
DFE_GROUPSETUP
Definition:
herr.h:165
DFE_CTERM
Definition:
herr.h:238
DFE_COMPINFO
Definition:
herr.h:241
DFE_FIELDSSET
Definition:
herr.h:286
DFE_SYMSIZE
Definition:
herr.h:279
DFE_BVNEW
Definition:
herr.h:304
DFE_NOSUCHTAG
Definition:
herr.h:175
DFE_NOTENOUGH
Definition:
herr.h:205
DFE_NOTDFFILE
Definition:
herr.h:173
DFE_READERROR
Definition:
herr.h:151
DFE_WRITEERROR
Definition:
herr.h:152
DFE_COMPVERSION
Definition:
herr.h:246
DFE_CANTHASH
Definition:
herr.h:191
DFE_BADVGNAME
Definition:
herr.h:273
DFE_NONE
Definition:
herr.h:140
DFE_GROUPWRITE
Definition:
herr.h:167
DFE_BADTABLE
Definition:
herr.h:265
DFE_BITREAD
Definition:
herr.h:296
DFE_CANTFLUSH
Definition:
herr.h:189
DFE_MODEL
Definition:
herr.h:233
DFE_BADCODER
Definition:
herr.h:232
DFE_DIFFFILES
Definition:
herr.h:186
DFE_SEEKERROR
Definition:
herr.h:153
DFE_LUTNOTFOUND
Definition:
herr.h:261
DFE_VGSIZE
Definition:
herr.h:270
DFE_BADDIM
Definition:
herr.h:218
DFE_NOFREEDD
Definition:
herr.h:176
DFE_BADOFFSET
Definition:
herr.h:181
DFE_BADVSNAME
Definition:
herr.h:281
DFE_CSEEK
Definition:
herr.h:239
DFE_BADFIELDS
Definition:
herr.h:277
DFE_BVFIND
Definition:
herr.h:307
DFE_GENAPP
Definition:
herr.h:210
DFE_BADSCHEME
Definition:
herr.h:230
DFE_NOSZLIB
Definition:
herr.h:245
hdf_err_code_t
hdf_err_code_t
Definition:
herr.h:138
DFE_UNINIT
Definition:
herr.h:213
DFE_VSCANTCREATE
Definition:
herr.h:288
DFE_GRNOTFOUND
Definition:
herr.h:262
DFE_CANTSHUTDOWN
Definition:
herr.h:215
DFE_BADVH
Definition:
herr.h:285
DFE_CANTUPDATE
Definition:
herr.h:190
DFE_CANTCOMP
Definition:
herr.h:242
DFE_ANAPIERROR
Definition:
herr.h:313
DFE_UNSUPPORTED
Definition:
herr.h:200
DFE_CANTSYNC
Definition:
herr.h:161
DFE_CANTADDELEM
Definition:
herr.h:272
DFE_CANTSETATTR
Definition:
herr.h:309
DFE_BADREF
Definition:
herr.h:178
error_top
int32 error_top
Definition:
herr.h:115
DFE_BADAID
Definition:
herr.h:187
DFE_READCOMP
Definition:
herr.h:247
DFE_ILLTYPE
Definition:
herr.h:171
DFE_NOTINTABLE
Definition:
herr.h:197
DFE_SEEDTWICE
Definition:
herr.h:174
DFE_NOVALS
Definition:
herr.h:206
DFE_BITWRITE
Definition:
herr.h:297
DFE_FNF
Definition:
herr.h:142
DFE_BADSEEK
Definition:
herr.h:155
DFE_CORRUPT
Definition:
herr.h:182
DFE_CANTDETACH
Definition:
herr.h:293
DFE_RANGE
Definition:
herr.h:224
DFE_BADDIMNAME
Definition:
herr.h:221
DFE_BADLEN
Definition:
herr.h:204
DFE_CANTMOD
Definition:
herr.h:185
DFE_BADATTACH
Definition:
herr.h:280
DFE_BADATTR
Definition:
herr.h:260
DFE_BADSDG
Definition:
herr.h:266
DFE_BADNDG
Definition:
herr.h:267
DFE_NORESET
Definition:
herr.h:209
DFE_BADMODEL
Definition:
herr.h:231
DFE_CANTACCESS
Definition:
herr.h:194
DFE_CENCODE
Definition:
herr.h:237
DFE_BADCALL
Definition:
herr.h:202
DFE_DUPDD
Definition:
herr.h:184
DFE_BADTYPE
Definition:
herr.h:226
DFE_ALROPEN
Definition:
herr.h:144
DFE_BADMCTYPE
Definition:
herr.h:221
DFE_CODER
Definition:
herr.h:234
DFE_NOREF
Definition:
herr.h:183
DFE_CANTLINK
Definition:
herr.h:160
DFE_INTERNAL
Definition:
herr.h:208
DFE_MINIT
Definition:
herr.h:240
DFE_BVGET
Definition:
herr.h:306
DFE_CANTINIT
Definition:
herr.h:214
DFE_DFNULL
Definition:
herr.h:170
DFE_CDECODE
Definition:
herr.h:236
DFE_RDONLY
Definition:
herr.h:154
DFE_EXCEEDMAX
Definition:
herr.h:203
DFE_OPENAID
Definition:
herr.h:188
DFE_PUTELEM
Definition:
herr.h:158
DFE_BADDDLIST
Definition:
herr.h:172
DFE_BADRIG
Definition:
herr.h:258
DFE_BADPTR
Definition:
herr.h:203
DFE_CANTCLOSE
Definition:
herr.h:150
DFE_PUTGROUP
Definition:
herr.h:166
DFE_BADTAG
Definition:
herr.h:177
MISR Toolkit - Copyright © 2005 - 2020 Jet Propulsion Laboratory
Generated on Fri Jun 19 2020 22:49:52