I went through the Ballerina documentation and found the following document on the http:RetryConfig
.
It has a statusCode
field, which I need a further clarification.
statusCodes int[](default []) - HTTP response status codes which are considered as failures
Is it essential to specify the status codes to consider it a failure? What happens if we do not provide the status codes in this configuration?