Is it posible to style or format the TwingErrorRuntime?
If there is an error, this is the output in my terminal:
TwingErrorRuntime: Macro "setMicrodata" is not defined in template "PATH_TO/sources/templates/macros/teasers.twig" in "PATH_TO/sources/templates/macros/teasers.twig" at line 36. [1] at PATH_TO/node_modules/twing/dist/cjs/lib/template.js:374:23 [1] at eval (eval at getTemplatesModule (PATH_TO/node_modules/twing/dist/cjs/lib/environment.js:489:24), <anonymous>:33:64) [1] at eval (eval at getTemplatesModule (PATH_TO/node_modules/twing/dist/cjs/lib/environment.js:489:24), <anonymous>:34:43) [1] at Object.doDisplay (eval at getTemplatesModule (PATH_TO/node_modules/twing/dist/cjs/lib/environment.js:489:24), <anonymous>:104:35) [1] at Object.doDisplay (eval at getTemplatesModule (PATH_TO/node_modules/twing/dist/cjs/lib/environment.js:489:24), <anonymous>:69:17) { [1] rawMessage: 'Macro "setMicrodata" is not defined in template "PATH_TO/templates/macros/teasers.twig".', [1] source: TwingSource { [1] code: '', [1] name: 'PATH_TO/sources/templates/macros/teasers.twig', [1] resolvedName: 'PATH_TO/sources/templates/macros/teasers.twig' [1] }, [1] previous: undefined, [1] name: 'TwingErrorRuntime', [1] lineno: 36 [1] }
Is it posible to style or format the TwingErrorRuntime?
If there is an error, this is the output in my terminal:
TwingErrorRuntime: Macro "setMicrodata" is not defined in template "PATH_TO/sources/templates/macros/teasers.twig" in "PATH_TO/sources/templates/macros/teasers.twig" at line 36. [1] at PATH_TO/node_modules/twing/dist/cjs/lib/template.js:374:23 [1] at eval (eval at getTemplatesModule (PATH_TO/node_modules/twing/dist/cjs/lib/environment.js:489:24), <anonymous>:33:64) [1] at eval (eval at getTemplatesModule (PATH_TO/node_modules/twing/dist/cjs/lib/environment.js:489:24), <anonymous>:34:43) [1] at Object.doDisplay (eval at getTemplatesModule (PATH_TO/node_modules/twing/dist/cjs/lib/environment.js:489:24), <anonymous>:104:35) [1] at Object.doDisplay (eval at getTemplatesModule (PATH_TO/node_modules/twing/dist/cjs/lib/environment.js:489:24), <anonymous>:69:17) { [1] rawMessage: 'Macro "setMicrodata" is not defined in template "PATH_TO/templates/macros/teasers.twig".', [1] source: TwingSource { [1] code: '', [1] name: 'PATH_TO/sources/templates/macros/teasers.twig', [1] resolvedName: 'PATH_TO/sources/templates/macros/teasers.twig' [1] }, [1] previous: undefined, [1] name: 'TwingErrorRuntime', [1] lineno: 36 [1] }