MCPcopy Index your code
hub / github.com/nodejs/node / WriteFailureAndRaise

Method WriteFailureAndRaise

deps/v8/tools/mb/mb.py:1158–1161  ·  view source on GitHub ↗
(self, msg, output_path)

Source from the content-addressed store, hash-verified

1156 return inp
1157
1158 def WriteFailureAndRaise(self, msg, output_path):
1159 if output_path:
1160 self.WriteJSON({'error': msg}, output_path, force_verbose=True)
1161 raise MBErr(msg)
1162
1163 def WriteJSON(self, obj, path, force_verbose=False):
1164 try:

Callers 2

RunGNGenMethod · 0.95
ReadInputJSONMethod · 0.95

Calls 2

WriteJSONMethod · 0.95
MBErrClass · 0.85

Tested by

no test coverage detected