# cancelRefresh method

1. @protected

Future<void> cancelRefresh(

1. PodException exception

)

Cancels the refresh process due to the provided PodException.

This method allows subclasses to roll back partially initialized state, release resources, and log or propagate errors consistently.

Called whenever initialization fails in the middle of a refresh cycle.

## Implementation

    @protected
    Future<void> cancelRefresh(PodException exception) async {}