MCPcopy Create free account
hub / github.com/KLayout/klayout / msg

Method msg

src/tl/tl/tlScriptError.cc:116–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114}
115
116std::string
117ScriptError::msg () const
118{
119 std::string m = basic_msg ();
120
121 if (! m_context.empty ()) {
122 m += tl::to_string (tr (" in ")) + m_context;
123 }
124
125 for (std::vector<BacktraceElement>::const_iterator bt = backtrace ().begin (); bt != backtrace ().end (); ++bt) {
126 m += "\n ";
127 m += bt->to_string ();
128 }
129
130 return m;
131}
132
133void
134ScriptError::translate_includes ()

Callers 15

~ProxyMethod · 0.80
~AdaptorSynchronizerMethod · 0.80
push_argsFunction · 0.80
executeMethod · 0.80
execute_gsiMethod · 0.80
merge_declarationsMethod · 0.80
DictInspectorMethod · 0.80
ObjectInspectorMethod · 0.80
callMethod · 0.80
~PYAObjectBaseMethod · 0.80
PythonInterpreterMethod · 0.80

Calls 7

basic_msgFunction · 0.85
to_stringFunction · 0.70
trFunction · 0.70
emptyMethod · 0.45
beginMethod · 0.45
endMethod · 0.45
to_stringMethod · 0.45

Tested by 13

DictInspectorMethod · 0.64
ObjectInspectorMethod · 0.64
run_testsFunction · 0.64
main_contFunction · 0.64
run_testFunction · 0.64
run_test_errorFunction · 0.64
TESTFunction · 0.64
run_test_with_errorFunction · 0.64
run_test_with_errorFunction · 0.64
run_rve_testFunction · 0.64
TESTFunction · 0.64
do_testMethod · 0.64