MCPcopy Create free account
hub / github.com/conda/constructor / indented_exception

Method indented_exception

constructor/exceptions.py:40–46  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

38 )
39
40 def indented_exception(self):
41 orig = str(self.original)
42
43 def indent(s):
44 return s.replace("\n", "\n--> ")
45
46 return f"Error Message:\n--> {indent(orig)}\n\n"
47
48
49class UnableToParseMissingJinja2(UnableToParse):

Callers 1

error_msgMethod · 0.95

Calls 1

indentFunction · 0.85

Tested by

no test coverage detected