Some error messages emitted from the library, when invalid data is encountered, explain vaguely that something is wrong, but could be clearer in explaining how that data is invalid.
For example:
if (raw_data.size() < 27)
{
throw std::invalid_argument{
"Overview waveform data has less than the minimum length of "
"27 bytes"};
}
The above message would be more helpful if it explained how many bytes the raw data actually was.
Some error messages emitted from the library, when invalid data is encountered, explain vaguely that something is wrong, but could be clearer in explaining how that data is invalid.
For example:
The above message would be more helpful if it explained how many bytes the raw data actually was.