Fixed arguments in ErrorException