H5Eget_msg

fnssize_t H5Eget_msg(hid_t msg_id, H5E_type_t * type, char * msg, size_t size)

Gets an error message.

Parameters

msg_idError message identifier
typePointer to receive the message type (MAJOR or MINOR)
msgBuffer to receive the message text
sizeSize of the message buffer

Returns

The length of the message on success, negative on failure.