clearError method

void clearError()

Public method to clear any existing error message.

This allows UI components to clear the error state after displaying it.

Implementation

void clearError() {
   _clearError();
 }