Adding documentation for errorCallback option