Reset the error state before doing anything within the public APIs.