MCPcopy Create free account
hub / github.com/aiscript-dev/aiscript / err

Function err

scripts/repl.mjs:28–30  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

26 }
27 },
28 err(e) {
29 console.log(chalk.red(`${e}`));
30 },
31 log(type, params) {
32 switch (type) {
33 case 'end': console.log(chalk.gray(`< ${valToString(params.val, true)}`)); break;

Callers

nothing calls this directly

Calls 1

logMethod · 0.45

Tested by

no test coverage detected