Draft implementation of feature

This is a basic implementation of choose error type. It seems to be
stable enough to push to dev at this stage, but I’ll develop it a
little more before I put it to rest. Still, this closes #12, and I’ll
improve upon it as I have time.
Merge branch 'choose-error-type' into dev