This PR adds the ability to make distinctions between Network Error, Time out error and actual API errors which allows the services to respond with appropriate HTTP error codes when communication between services fails (e.g. Catalog talking to RBAC service and the RBAC service is down)
The Auto Generated clients use libcurl to perform network operations. lib curl can detect
https://github.com/RedHatInsights/insights-rbac-api-client-ruby/blob/41cddab91c06ef34abec537a8c83e08ca4a8d2be/lib/rbac-api-client/api_client.rb#L56
This PR adds the ability to make distinctions between Network Error, Time out error and actual API errors which allows the services to respond with appropriate HTTP error codes when communication between services fails (e.g. Catalog talking to RBAC service and the RBAC service is down)