Add some exception wrappers to have exceptions more human and machine friendly.