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 HDF5. The full HDF5 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://www.hdfgroup.org/licenses. * 10 * If you do not have access to either file, you may request a copy from * 11 * help@hdfgroup.org. * 12 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ 13 14 /* Generated automatically by bin/make_err -- do not edit */ 15 /* Add new errors to H5err.txt file */ 16 17 18 #ifndef H5Edefin_H 19 #define H5Edefin_H 20 21 /* Major error IDs */ 22 hid_t H5E_FUNC_g = FAIL; /* Function entry/exit */ 23 hid_t H5E_FILE_g = FAIL; /* File accessibility */ 24 hid_t H5E_VOL_g = FAIL; /* Virtual Object Layer */ 25 hid_t H5E_SOHM_g = FAIL; /* Shared Object Header Messages */ 26 hid_t H5E_SYM_g = FAIL; /* Symbol table */ 27 hid_t H5E_PLUGIN_g = FAIL; /* Plugin for dynamically loaded library */ 28 hid_t H5E_VFL_g = FAIL; /* Virtual File Layer */ 29 hid_t H5E_INTERNAL_g = FAIL; /* Internal error (too specific to document in detail) */ 30 hid_t H5E_BTREE_g = FAIL; /* B-Tree node */ 31 hid_t H5E_REFERENCE_g = FAIL; /* References */ 32 hid_t H5E_DATASPACE_g = FAIL; /* Dataspace */ 33 hid_t H5E_RESOURCE_g = FAIL; /* Resource unavailable */ 34 hid_t H5E_RS_g = FAIL; /* Reference Counted Strings */ 35 hid_t H5E_FARRAY_g = FAIL; /* Fixed Array */ 36 hid_t H5E_HEAP_g = FAIL; /* Heap */ 37 hid_t H5E_MAP_g = FAIL; /* Map */ 38 hid_t H5E_ATTR_g = FAIL; /* Attribute */ 39 hid_t H5E_IO_g = FAIL; /* Low-level I/O */ 40 hid_t H5E_EFL_g = FAIL; /* External file list */ 41 hid_t H5E_TST_g = FAIL; /* Ternary Search Trees */ 42 hid_t H5E_LIB_g = FAIL; /* General library infrastructure */ 43 hid_t H5E_PAGEBUF_g = FAIL; /* Page Buffering */ 44 hid_t H5E_FSPACE_g = FAIL; /* Free Space Manager */ 45 hid_t H5E_DATASET_g = FAIL; /* Dataset */ 46 hid_t H5E_STORAGE_g = FAIL; /* Data storage */ 47 hid_t H5E_LINK_g = FAIL; /* Links */ 48 hid_t H5E_PLIST_g = FAIL; /* Property lists */ 49 hid_t H5E_DATATYPE_g = FAIL; /* Datatype */ 50 hid_t H5E_OHDR_g = FAIL; /* Object header */ 51 hid_t H5E_ATOM_g = FAIL; /* Object atom */ 52 hid_t H5E_NONE_MAJOR_g = FAIL; /* No error */ 53 hid_t H5E_SLIST_g = FAIL; /* Skip Lists */ 54 hid_t H5E_ARGS_g = FAIL; /* Invalid arguments to routine */ 55 hid_t H5E_CONTEXT_g = FAIL; /* API Context */ 56 hid_t H5E_EARRAY_g = FAIL; /* Extensible Array */ 57 hid_t H5E_PLINE_g = FAIL; /* Data filters */ 58 hid_t H5E_ERROR_g = FAIL; /* Error API */ 59 hid_t H5E_CACHE_g = FAIL; /* Object cache */ 60 61 /* Minor error IDs */ 62 63 /* Generic low-level file I/O errors */ 64 hid_t H5E_SEEKERROR_g = FAIL; /* Seek failed */ 65 hid_t H5E_READERROR_g = FAIL; /* Read failed */ 66 hid_t H5E_WRITEERROR_g = FAIL; /* Write failed */ 67 hid_t H5E_CLOSEERROR_g = FAIL; /* Close failed */ 68 hid_t H5E_OVERFLOW_g = FAIL; /* Address overflowed */ 69 hid_t H5E_FCNTL_g = FAIL; /* File control (fcntl) failed */ 70 71 /* Resource errors */ 72 hid_t H5E_NOSPACE_g = FAIL; /* No space available for allocation */ 73 hid_t H5E_CANTALLOC_g = FAIL; /* Can't allocate space */ 74 hid_t H5E_CANTCOPY_g = FAIL; /* Unable to copy object */ 75 hid_t H5E_CANTFREE_g = FAIL; /* Unable to free object */ 76 hid_t H5E_ALREADYEXISTS_g = FAIL; /* Object already exists */ 77 hid_t H5E_CANTLOCK_g = FAIL; /* Unable to lock object */ 78 hid_t H5E_CANTUNLOCK_g = FAIL; /* Unable to unlock object */ 79 hid_t H5E_CANTGC_g = FAIL; /* Unable to garbage collect */ 80 hid_t H5E_CANTGETSIZE_g = FAIL; /* Unable to compute size */ 81 hid_t H5E_OBJOPEN_g = FAIL; /* Object is already open */ 82 83 /* Heap errors */ 84 hid_t H5E_CANTRESTORE_g = FAIL; /* Can't restore condition */ 85 hid_t H5E_CANTCOMPUTE_g = FAIL; /* Can't compute value */ 86 hid_t H5E_CANTEXTEND_g = FAIL; /* Can't extend heap's space */ 87 hid_t H5E_CANTATTACH_g = FAIL; /* Can't attach object */ 88 hid_t H5E_CANTUPDATE_g = FAIL; /* Can't update object */ 89 hid_t H5E_CANTOPERATE_g = FAIL; /* Can't operate on object */ 90 91 /* Function entry/exit interface errors */ 92 hid_t H5E_CANTINIT_g = FAIL; /* Unable to initialize object */ 93 hid_t H5E_ALREADYINIT_g = FAIL; /* Object already initialized */ 94 hid_t H5E_CANTRELEASE_g = FAIL; /* Unable to release object */ 95 96 /* Property list errors */ 97 hid_t H5E_CANTGET_g = FAIL; /* Can't get value */ 98 hid_t H5E_CANTSET_g = FAIL; /* Can't set value */ 99 hid_t H5E_DUPCLASS_g = FAIL; /* Duplicate class name in parent class */ 100 hid_t H5E_SETDISALLOWED_g = FAIL; /* Disallowed operation */ 101 102 /* Free space errors */ 103 hid_t H5E_CANTMERGE_g = FAIL; /* Can't merge objects */ 104 hid_t H5E_CANTREVIVE_g = FAIL; /* Can't revive object */ 105 hid_t H5E_CANTSHRINK_g = FAIL; /* Can't shrink container */ 106 107 /* Object header related errors */ 108 hid_t H5E_LINKCOUNT_g = FAIL; /* Bad object header link count */ 109 hid_t H5E_VERSION_g = FAIL; /* Wrong version number */ 110 hid_t H5E_ALIGNMENT_g = FAIL; /* Alignment error */ 111 hid_t H5E_BADMESG_g = FAIL; /* Unrecognized message */ 112 hid_t H5E_CANTDELETE_g = FAIL; /* Can't delete message */ 113 hid_t H5E_BADITER_g = FAIL; /* Iteration failed */ 114 hid_t H5E_CANTPACK_g = FAIL; /* Can't pack messages */ 115 hid_t H5E_CANTRESET_g = FAIL; /* Can't reset object */ 116 hid_t H5E_CANTRENAME_g = FAIL; /* Unable to rename object */ 117 118 /* System level errors */ 119 hid_t H5E_SYSERRSTR_g = FAIL; /* System error message */ 120 121 /* I/O pipeline errors */ 122 hid_t H5E_NOFILTER_g = FAIL; /* Requested filter is not available */ 123 hid_t H5E_CALLBACK_g = FAIL; /* Callback failed */ 124 hid_t H5E_CANAPPLY_g = FAIL; /* Error from filter 'can apply' callback */ 125 hid_t H5E_SETLOCAL_g = FAIL; /* Error from filter 'set local' callback */ 126 hid_t H5E_NOENCODER_g = FAIL; /* Filter present but encoding disabled */ 127 hid_t H5E_CANTFILTER_g = FAIL; /* Filter operation failed */ 128 129 /* Group related errors */ 130 hid_t H5E_CANTOPENOBJ_g = FAIL; /* Can't open object */ 131 hid_t H5E_CANTCLOSEOBJ_g = FAIL; /* Can't close object */ 132 hid_t H5E_COMPLEN_g = FAIL; /* Name component is too long */ 133 hid_t H5E_PATH_g = FAIL; /* Problem with path to object */ 134 135 /* No error */ 136 hid_t H5E_NONE_MINOR_g = FAIL; /* No error */ 137 138 /* Plugin errors */ 139 hid_t H5E_OPENERROR_g = FAIL; /* Can't open directory or file */ 140 141 /* File accessibility errors */ 142 hid_t H5E_FILEEXISTS_g = FAIL; /* File already exists */ 143 hid_t H5E_FILEOPEN_g = FAIL; /* File already open */ 144 hid_t H5E_CANTCREATE_g = FAIL; /* Unable to create file */ 145 hid_t H5E_CANTOPENFILE_g = FAIL; /* Unable to open file */ 146 hid_t H5E_CANTCLOSEFILE_g = FAIL; /* Unable to close file */ 147 hid_t H5E_NOTHDF5_g = FAIL; /* Not an HDF5 file */ 148 hid_t H5E_BADFILE_g = FAIL; /* Bad file ID accessed */ 149 hid_t H5E_TRUNCATED_g = FAIL; /* File has been truncated */ 150 hid_t H5E_MOUNT_g = FAIL; /* File mount error */ 151 hid_t H5E_CANTDELETEFILE_g = FAIL; /* Unable to delete file */ 152 hid_t H5E_CANTLOCKFILE_g = FAIL; /* Unable to lock file */ 153 hid_t H5E_CANTUNLOCKFILE_g = FAIL; /* Unable to unlock file */ 154 155 /* Object atom related errors */ 156 hid_t H5E_BADATOM_g = FAIL; /* Unable to find atom information (already closed?) */ 157 hid_t H5E_BADGROUP_g = FAIL; /* Unable to find ID group information */ 158 hid_t H5E_CANTREGISTER_g = FAIL; /* Unable to register new atom */ 159 hid_t H5E_CANTINC_g = FAIL; /* Unable to increment reference count */ 160 hid_t H5E_CANTDEC_g = FAIL; /* Unable to decrement reference count */ 161 hid_t H5E_NOIDS_g = FAIL; /* Out of IDs for group */ 162 163 /* Cache related errors */ 164 hid_t H5E_CANTFLUSH_g = FAIL; /* Unable to flush data from cache */ 165 hid_t H5E_CANTUNSERIALIZE_g = FAIL; /* Unable to mark metadata as unserialized */ 166 hid_t H5E_CANTSERIALIZE_g = FAIL; /* Unable to serialize data from cache */ 167 hid_t H5E_CANTTAG_g = FAIL; /* Unable to tag metadata in the cache */ 168 hid_t H5E_CANTLOAD_g = FAIL; /* Unable to load metadata into cache */ 169 hid_t H5E_PROTECT_g = FAIL; /* Protected metadata error */ 170 hid_t H5E_NOTCACHED_g = FAIL; /* Metadata not currently cached */ 171 hid_t H5E_SYSTEM_g = FAIL; /* Internal error detected */ 172 hid_t H5E_CANTINS_g = FAIL; /* Unable to insert metadata into cache */ 173 hid_t H5E_CANTPROTECT_g = FAIL; /* Unable to protect metadata */ 174 hid_t H5E_CANTUNPROTECT_g = FAIL; /* Unable to unprotect metadata */ 175 hid_t H5E_CANTPIN_g = FAIL; /* Unable to pin cache entry */ 176 hid_t H5E_CANTUNPIN_g = FAIL; /* Unable to un-pin cache entry */ 177 hid_t H5E_CANTMARKDIRTY_g = FAIL; /* Unable to mark a pinned entry as dirty */ 178 hid_t H5E_CANTMARKCLEAN_g = FAIL; /* Unable to mark a pinned entry as clean */ 179 hid_t H5E_CANTMARKUNSERIALIZED_g = FAIL; /* Unable to mark an entry as unserialized */ 180 hid_t H5E_CANTMARKSERIALIZED_g = FAIL; /* Unable to mark an entry as serialized */ 181 hid_t H5E_CANTDIRTY_g = FAIL; /* Unable to mark metadata as dirty */ 182 hid_t H5E_CANTCLEAN_g = FAIL; /* Unable to mark metadata as clean */ 183 hid_t H5E_CANTEXPUNGE_g = FAIL; /* Unable to expunge a metadata cache entry */ 184 hid_t H5E_CANTRESIZE_g = FAIL; /* Unable to resize a metadata cache entry */ 185 hid_t H5E_CANTDEPEND_g = FAIL; /* Unable to create a flush dependency */ 186 hid_t H5E_CANTUNDEPEND_g = FAIL; /* Unable to destroy a flush dependency */ 187 hid_t H5E_CANTNOTIFY_g = FAIL; /* Unable to notify object about action */ 188 hid_t H5E_LOGGING_g = FAIL; /* Failure in the cache logging framework */ 189 hid_t H5E_CANTCORK_g = FAIL; /* Unable to cork an object */ 190 hid_t H5E_CANTUNCORK_g = FAIL; /* Unable to uncork an object */ 191 192 /* Link related errors */ 193 hid_t H5E_TRAVERSE_g = FAIL; /* Link traversal failure */ 194 hid_t H5E_NLINKS_g = FAIL; /* Too many soft links in path */ 195 hid_t H5E_NOTREGISTERED_g = FAIL; /* Link class not registered */ 196 hid_t H5E_CANTMOVE_g = FAIL; /* Can't move object */ 197 hid_t H5E_CANTSORT_g = FAIL; /* Can't sort objects */ 198 199 /* Parallel MPI errors */ 200 hid_t H5E_MPI_g = FAIL; /* Some MPI function failed */ 201 hid_t H5E_MPIERRSTR_g = FAIL; /* MPI Error String */ 202 hid_t H5E_CANTRECV_g = FAIL; /* Can't receive data */ 203 hid_t H5E_CANTGATHER_g = FAIL; /* Can't gather data */ 204 hid_t H5E_NO_INDEPENDENT_g = FAIL; /* Can't perform independent IO */ 205 206 /* Dataspace errors */ 207 hid_t H5E_CANTCLIP_g = FAIL; /* Can't clip hyperslab region */ 208 hid_t H5E_CANTCOUNT_g = FAIL; /* Can't count elements */ 209 hid_t H5E_CANTSELECT_g = FAIL; /* Can't select hyperslab */ 210 hid_t H5E_CANTNEXT_g = FAIL; /* Can't move to next iterator location */ 211 hid_t H5E_BADSELECT_g = FAIL; /* Invalid selection */ 212 hid_t H5E_CANTCOMPARE_g = FAIL; /* Can't compare objects */ 213 hid_t H5E_INCONSISTENTSTATE_g = FAIL; /* Internal states are inconsistent */ 214 hid_t H5E_CANTAPPEND_g = FAIL; /* Can't append object */ 215 216 /* Argument errors */ 217 hid_t H5E_UNINITIALIZED_g = FAIL; /* Information is uinitialized */ 218 hid_t H5E_UNSUPPORTED_g = FAIL; /* Feature is unsupported */ 219 hid_t H5E_BADTYPE_g = FAIL; /* Inappropriate type */ 220 hid_t H5E_BADRANGE_g = FAIL; /* Out of range */ 221 hid_t H5E_BADVALUE_g = FAIL; /* Bad value */ 222 223 /* B-tree related errors */ 224 hid_t H5E_NOTFOUND_g = FAIL; /* Object not found */ 225 hid_t H5E_EXISTS_g = FAIL; /* Object already exists */ 226 hid_t H5E_CANTENCODE_g = FAIL; /* Unable to encode value */ 227 hid_t H5E_CANTDECODE_g = FAIL; /* Unable to decode value */ 228 hid_t H5E_CANTSPLIT_g = FAIL; /* Unable to split node */ 229 hid_t H5E_CANTREDISTRIBUTE_g = FAIL; /* Unable to redistribute records */ 230 hid_t H5E_CANTSWAP_g = FAIL; /* Unable to swap records */ 231 hid_t H5E_CANTINSERT_g = FAIL; /* Unable to insert object */ 232 hid_t H5E_CANTLIST_g = FAIL; /* Unable to list node */ 233 hid_t H5E_CANTMODIFY_g = FAIL; /* Unable to modify record */ 234 hid_t H5E_CANTREMOVE_g = FAIL; /* Unable to remove object */ 235 236 /* Datatype conversion errors */ 237 hid_t H5E_CANTCONVERT_g = FAIL; /* Can't convert datatypes */ 238 hid_t H5E_BADSIZE_g = FAIL; /* Bad size for object */ 239 240 #endif /* H5Edefin_H */ 241