Moving the error message outside the Order object