Generic callback interface with a generic return types.
Important: This is a Public Preview API. It may be changed or removed at any time.
type of the returned object.
type of the returned exception.
Called when an error occurs during processing.
Called when requested resource is successfully obtained.