Adds major error message to an error class
Procedure:
H5E_CREATE_MSG(class, msg_type, mesg)
Signature:
hid_t H5Ecreate_msg(hid_t class, H5E_type_t msg_type, const char* mesg)
Parameters:
hid_t class | IN: Error class identifier |
H5E_type_t msg_type | IN: The type of the error message Valid values are H5E_MAJOR and H5E_MINOR . |
const char* mesg | IN: Major error message |
Description:
H5E_CREATE_MSG adds an error message to an error class defined by client library or application program. The error message can be either major or minor which is indicated by parameter msg_type
.
Use H5E_CREATE_MSG to close the message identifier returned by this function.
Returns:
Returns a message identifier on success; otherwise returns a negative value.
Example:
See Also:
History:
Release | C |
1.8.0 | Function introduced in this release. |
--- Last Modified: May 03, 2019 | 02:59 PM