Add a more useful error type

Fixes #5.