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

Method is_server_error

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

Source from the content-addressed store, hash-verified

84 return 400 <= self.status_code < 500
85
86 def is_server_error(self):
87 if self.status_code is None:
88 return False
89 return 500 <= self.status_code < 600
90
91
92class NotFound(APIError):

Callers 7

__str__Method · 0.95
is_errorMethod · 0.95

Calls

no outgoing calls