MCPcopy Create free account
hub / github.com/pyfa-org/Pyfa / __str__

Method __str__

service/esiAccess.py:49–56  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

47
48
49 def __str__(self):
50 if 'error_description' in self.response:
51 return 'HTTP Error %s: %s' % (self.status_code,
52 self.response['error_description'])
53 elif 'message' in self.response:
54 return 'HTTP Error %s: %s' % (self.status_code,
55 self.response['message'])
56 return 'HTTP Error %s' % self.status_code
57
58
59class EsiAccess:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected