effect-io-ai

Package: effect
Module: SchemaIssue

SchemaIssue.Pointer

Wraps an inner Issue with a property-key path, indicating where in a nested structure the error occurred.

When to use

Use when you need to walk the issue tree to accumulate path segments for error reporting.

Details

See

Signature

declare class Pointer { constructor(
    /**
     * The path to the location in the input that caused the issue.
     */
    path: ReadonlyArray<PropertyKey>,
    /**
     * The issue that occurred.
     */
    issue: Issue
  ) }

Source

Since v3.10.0