Hyperspace, a couple of facilities on top of Zinc HTTP Components reached it's v2.2.0 version.
HTTPClientError>>-HTTPServerError exceptionZnClientsetLogLevelAtLeastTo:logLevelsetIfNoneMatchTo:resetRequestZnSingleThreadedServersetLogLevelAtLeastTo:logLevelRetry, one of the resilience operations that repeat failed executions a number of times.#upTo: retryCount : The maximum number of retries. Defaults to 2.#every: duration : Wait a time duration between retry attempts. By default don't wait.#when: condition : Evaluate the condition with the current execution result, if met retry the execution.#on: exceptionSelector : Retry the execution if an exception handled by exceptionSelector is raised.#ignore: exceptionSelector : Scope the previous method ignoring the exceptions that can be handled by exceptionSelector.
Retry
value: [ ""operation to execute"" ]
configuredBy: [:retry | ""configuration options"" ]
Regards,
The Buenos Aires Smalltalk team