Provide category wrappers for the errors that can be raised.

PR for #5.