What happens if there is an error.