pub(super) fn set_token_response_error(&self, error: EnrichedClientError) {
        *self.tokens_response_error.write().unwrap() = Some(error);
    }
Sets the error to be returned by the `fetch_tokens` method.
Error will be returned just once. Next time the request will succeed.
core/lib/snapshots_applier/src/tests/utils.rs