Using a custom `NucleotideError`

It inherits from `Error`, so the unit tests still pass.