started redesigning errors to allow chain-of-custody