there should be an interface, that this callback requires, which can be used to handle errors. The activity calling this callback can implement the interface and handle the errors.