Enhanced error messages for unexpected CH exceptions.

Some exceptions may not be caught still, but for most exceptions, a much better error message will be printed.