MCPcopy Create free account
hub / github.com/apple/foundationdb / get_error

Method get_error

tests/python_tests/python_correctness.py:846–849  ·  view source on GitHub ↗
(self, message)

Source from the content-addressed store, hash-verified

844
845 # Adds the stack trace to an error message
846 def get_error(self, message):
847 error_message = message + "\n" + traceback.format_exc()
848 print("%s", error_message)
849 return error_message
850
851
852if __name__ == "__main__":

Callers 4

run_testMethod · 0.95
test_callbackMethod · 0.95
test_functionsMethod · 0.95
test_correctnessMethod · 0.95

Calls 1

printFunction · 0.50

Tested by 3

test_callbackMethod · 0.76
test_functionsMethod · 0.76
test_correctnessMethod · 0.76