API Reference > imodeljs-clients > iTwinServiceClients > WsgError > shouldRetry shouldRetry MethodStatic Decides whether request should be retried or not shouldRetry(error: any, response: any): boolean Parameter Type Description error any Error response any Response Returns - boolean Defined in core/clients/src/WsgClient.ts Line 70 Last Updated: 13 June, 2024