MCPcopy Index your code
hub / github.com/docker/docker-py / is_error

Method is_error

docker/errors.py:78–79  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

76 return self.response.status_code
77
78 def is_error(self):
79 return self.is_client_error() or self.is_server_error()
80
81 def is_client_error(self):
82 if self.status_code is None:

Calls 2

is_client_errorMethod · 0.95
is_server_errorMethod · 0.95