failure_message#
Connect a provider and configure retries, credentials, and transport. See the guide.
- zett_agent.providers.http_errors.failure_message(provider, status_code, failure)[源代码]#
Return one sentence that says what the provider answered and what that usually means.
- 参数:
provider (str) -- How to name the provider in the sentence.
status_code (int) -- The HTTP status of the response.
failure (HttpFailure) -- What
read_failure()made of the body.
- 返回类型:
str