rework Error and friends to be entirely self hosted in the vm