Resets errors.
function daffClearErrors<T extends DaffOperationState = DaffOperationState>(state: T): T