Make use of Location.Error exception.