Consolidating error handling to one class

This should help making things a bit more uniform when dealing with
exceptions. I'm hoping this makes a nicer experience for our users.