Previously, in the case of no range between the data values,
`fmt.Errorf` was called (without format arguments), making the resulting
error difficult to compare by downstream users. This has been replaced
with a custom error, and its test updated.
The `testutil` package does not appear to have a function allowing
assertion using `errors.Is` and therefore the `errors.Is` check is
performed in the test itself.