transform exceptions to be more meaningful