From cbb1e0c9525a6f2542362c792bf9802e2e3a2048 Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Tue, 8 Apr 2003 20:53:31 -0500 Subject: [svn-r6606] Purpose: New feature Description: Added new error descriptions. Solution: Platforms tested: FreeBSD 4.8 (sleipnir) w/szip Linux 2.4 (sleipnir) w/szip Solaris 2.7 (arabica) w/FORTRAN IRIX64 6.5 (modi4) w/szip, FORTRAN & parallel Misc. update: --- src/H5E.c | 23 +++++++++++++++-------- src/H5Epublic.h | 9 ++++++++- 2 files changed, 23 insertions(+), 9 deletions(-) diff --git a/src/H5E.c b/src/H5E.c index 1d8541f..96019af 100644 --- a/src/H5E.c +++ b/src/H5E.c @@ -156,17 +156,17 @@ static const H5E_minor_mesg_t H5E_minor_mesg_g[] = { {H5E_SLINK, "Symbolic link error"}, /* Datatype conversion errors */ - {H5E_CANTCONVERT, "Can't convert datatypes"}, - {H5E_BADSIZE, "Bad size for object"}, + {H5E_CANTCONVERT, "Can't convert datatypes"}, + {H5E_BADSIZE, "Bad size for object"}, /* Dataspace errors */ - {H5E_CANTCLIP, "Can't clip hyperslab region"}, - {H5E_CANTCOUNT, "Can't count elements"}, + {H5E_CANTCLIP, "Can't clip hyperslab region"}, + {H5E_CANTCOUNT, "Can't count elements"}, /* Property list errors */ - {H5E_CANTGET, "Can't get value"}, - {H5E_CANTSET, "Can't set value"}, - {H5E_DUPCLASS, "Duplicate class name in parent class"}, + {H5E_CANTGET, "Can't get value"}, + {H5E_CANTSET, "Can't set value"}, + {H5E_DUPCLASS, "Duplicate class name in parent class"}, /* Parallel MPI errors */ {H5E_MPI, "Some MPI function failed"}, @@ -177,7 +177,14 @@ static const H5E_minor_mesg_t H5E_minor_mesg_g[] = { {H5E_CANTRECV, "Can't receive messages from processes"}, {H5E_CANTSENDMDATA, "Can't send metadata message"}, {H5E_CANTCHANGE, "Can't register change with server"}, - {H5E_CANTALLOC, "Can't allocate from file"} + {H5E_CANTALLOC, "Can't allocate from file"}, + + /* I/O pipeline errors */ + {H5E_NOFILTER, "Requested filter is not available"}, + {H5E_CALLBACK, "Callback failed"}, + {H5E_CANAPPLY, "Error from filter \"can apply\" callback"}, + {H5E_SETLOCAL, "Error from filter \"set local\" callback"} + }; /* Interface initialization? */ diff --git a/src/H5Epublic.h b/src/H5Epublic.h index b520745..d390f22 100644 --- a/src/H5Epublic.h +++ b/src/H5Epublic.h @@ -208,7 +208,14 @@ typedef enum H5E_minor_t { H5E_CANTRECV, /*can't receive messages from processes */ H5E_CANTSENDMDATA, /*can't send metadata message */ H5E_CANTCHANGE, /*can't register change on server */ - H5E_CANTALLOC /*can't allocate from file */ + H5E_CANTALLOC, /*can't allocate from file */ + + /* I/O pipeline errors */ + H5E_NOFILTER, /*requested filter is not available */ + H5E_CALLBACK, /*callback failed */ + H5E_CANAPPLY, /*error from filter "can apply" callback */ + H5E_SETLOCAL /*error from filter "set local" callback */ + } H5E_minor_t; /* Information about an error */ -- cgit v0.12