add more expressive error

@dirk-thomas for review