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

Function ERROR

src/interpreter/value.ts:143–147  ·  view source on GitHub ↗
(name: string, info?: Value)

Source from the content-addressed store, hash-verified

141});
142
143export const ERROR = (name: string, info?: Value): Value => ({
144 type: 'error' as const,
145 value: name,
146 info: info,
147});

Callers 4

std.tsFile · 0.90
types.tsFile · 0.90
execFnMethod · 0.85
std.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected