determined what the error was