changes how errors are accessed