MCPcopy Create free account
hub / github.com/Effect-TS/effect / constructor

Method constructor

packages/effect/src/SchemaIssue.ts:709–731  ·  view source on GitHub ↗
(
    /**
     * The schema that caused the issue.
     */
    ast: SchemaAST.Union,
    /**
     * The issues that occurred.
     */
    issues: ReadonlyArray<Issue>,
    /**
     * The present input associated with the issue. It is retained only when
     * `options.reportInput` is `true`.
     */
    input?: unknown,
    /**
     * The effective parse options controlling input retention.
     */
    options?: SchemaAST.ParseOptions
  )

Source from the content-addressed store, hash-verified

707 readonly issues: ReadonlyArray<Issue>
708
709 constructor(
710 /**
711 * The schema that caused the issue.
712 */
713 ast: SchemaAST.Union,
714 /**
715 * The issues that occurred.
716 */
717 issues: ReadonlyArray<Issue>,
718 /**
719 * The present input associated with the issue. It is retained only when
720 * `options.reportInput` is `true`.
721 */
722 input?: unknown,
723 /**
724 * The effective parse options controlling input retention.
725 */
726 options?: SchemaAST.ParseOptions
727 ) {
728 super(input, options)
729 this.ast = ast
730 this.issues = issues
731 }
732}
733
734/**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected