Skip to content

Home > intention-kernel/testing > EvaluationError

EvaluationError class ​

Stable public failure for invalid definitions, reports or execution options.

Signature:

typescript
export declare class EvaluationError extends Error

Extends: Error

Constructors ​

Constructor

Modifiers

Description

(constructor)(code, paths)

Construct an evaluation error with stable code and optional field paths.

Properties ​

Property

Modifiers

Type

Description

code

readonly

string

Machine-readable error identity; never includes secret input values.

paths

readonly

readonly string[]

Safe field locations that failed validation.