Issues/15

Fixes #15.
It currently reuses the "violates format" error. Maybe it should have a dedicated one. I could spend some more time on it if you want to merge this, if you think this is the right approach?