standardize how errors are reported