MCPcopy Create free account
hub / github.com/apache/mesos / MesosException

Class MesosException

src/python/lib/mesos/exceptions.py:24–33  ·  view source on GitHub ↗

Exceptions class to be inherited by all Mesos exceptions.

Source from the content-addressed store, hash-verified

22
23
24class MesosException(Exception):
25 """
26 Exceptions class to be inherited by all Mesos exceptions.
27 """
28 def __init__(self, message=None, original_exception=None):
29 if original_exception is not None:
30 message = "{msg}: {exception}".format(
31 msg=message, exception=original_exception)
32 self.original_exception = original_exception
33 super(MesosException, self).__init__(message)
34
35
36class MesosHTTPException(MesosException):

Callers 6

requestMethod · 0.90
request_jsonMethod · 0.90
encodeMethod · 0.90
decodeMethod · 0.90
test_encodeFunction · 0.90
test_encode_decodeFunction · 0.90

Calls

no outgoing calls

Tested by 2

test_encodeFunction · 0.72
test_encode_decodeFunction · 0.72