Definition at line 292 of file rest.py.
◆ __init__()
def cFSPlib.python_api_client.swagger_client.rest.ApiException.__init__ |
( |
|
self, |
|
|
|
status = None , |
|
|
|
reason = None , |
|
|
|
http_resp = None |
|
) |
| |
Definition at line 294 of file rest.py.
294 def __init__(self, status=None, reason=None, http_resp=None):
296 self.status = http_resp.status
297 self.reason = http_resp.reason
298 self.body = http_resp.data
299 self.headers = http_resp.getheaders()
◆ __str__()
def cFSPlib.python_api_client.swagger_client.rest.ApiException.__str__ |
( |
|
self | ) |
|
Custom error messages for exception
Definition at line 306 of file rest.py.
307 """Custom error messages for exception"""
308 error_message =
"({0})\n"\
309 "Reason: {1}\n".format(self.status, self.reason)
311 error_message +=
"HTTP response headers: {0}\n".format(
315 error_message +=
"HTTP response body: {0}\n".format(self.body)
◆ body
cFSPlib.python_api_client.swagger_client.rest.ApiException.body |
◆ headers
cFSPlib.python_api_client.swagger_client.rest.ApiException.headers |
◆ reason
cFSPlib.python_api_client.swagger_client.rest.ApiException.reason |
◆ status
cFSPlib.python_api_client.swagger_client.rest.ApiException.status |
The documentation for this class was generated from the following file:
- repos_for_Dox/cFSP/cFSPlib/python_api_client/swagger_client/rest.py