added location error callback prop
(missed file)