Typedef libremidi::midi_error_callback¶
Defined in File libremidi.hpp
Typedef Documentation¶
-
using
libremidi::midi_error_callback= std::function<void(midi_error type, std::string_view errorText)>¶ Error callback function.
Note that class behaviour is undefined after a critical error (not a warning) is reported.
- Parameters
type: Type of error.errorText: Error description.