Send back proper error values