MCPcopy Create free account
hub / github.com/Distributive-Network/PythonMonkey / style

Function style

python/pythonmonkey/builtin_modules/util.js:765–770  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

763function formatError(ctx, error)
764{
765 function style(str)
766 {
767 if (!ctx.stylize)
768 return str;
769 return ctx.stylize(str, 'error2');
770 }
771
772 const stackEls = error.stack
773 .split('\n')

Callers 1

formatErrorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected