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

Method is_client_error

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

Source from the content-addressed store, hash-verified

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:
83 return False
84 return 400 <= self.status_code < 500
85
86 def is_server_error(self):
87 if self.status_code is None:

Callers 4

__str__Method · 0.95
is_errorMethod · 0.95

Calls

no outgoing calls

Tested by 2