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

Method constructor

packages/effect/src/SchemaIssue.ts:456–478  ·  view source on GitHub ↗
(
    /**
     * The schema that caused the issue.
     */
    ast: SchemaAST.AST,
    /**
     * The issues that occurred.
     */
    issues: readonly [Issue, ...Array<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

454 readonly issues: readonly [Issue, ...Array<Issue>]
455
456 constructor(
457 /**
458 * The schema that caused the issue.
459 */
460 ast: SchemaAST.AST,
461 /**
462 * The issues that occurred.
463 */
464 issues: readonly [Issue, ...Array<Issue>],
465 /**
466 * The present input associated with the issue. It is retained only when
467 * `options.reportInput` is `true`.
468 */
469 input?: unknown,
470 /**
471 * The effective parse options controlling input retention.
472 */
473 options?: SchemaAST.ParseOptions
474 ) {
475 super(input, options)
476 this.ast = ast
477 this.issues = issues
478 }
479}
480
481/**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected