A succinct example showing how to reactively check for an error after an operation fails, and how a subsequent successful operation clears the error state.