This site describes solve-engine 2.44.0, the version npm installs.
errorValue
function errorValue(code, message): Value;Defined in: packages/engine/src/vm/Value.ts:1531
Create an Error value, propagated through the DAG when a plugin raises an error. The value field stores the EngineError code, unit stores the message. Downstream consumers (lines that depend on errored data) bubble this up. Should NEVER be stored in the arena.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
code | string |
message | string |