Extract an HTTP status code from an error via duck typing. Works with both APIError (from clients/ep/baseClient) and any error carrying a numeric statusCode property (avoids circular imports).
APIError
clients/ep/baseClient
statusCode
Extract an HTTP status code from an error via duck typing. Works with both
APIError(fromclients/ep/baseClient) and any error carrying a numericstatusCodeproperty (avoids circular imports).