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

Method constructor

packages/effect/src/SchemaIssue.ts:517–534  ·  view source on GitHub ↗
(
    /**
     * The schema that caused the issue.
     */
    ast: SchemaAST.AST,
    /**
     * 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

515 */
516 readonly ast: SchemaAST.AST
517 constructor(
518 /**
519 * The schema that caused the issue.
520 */
521 ast: SchemaAST.AST,
522 /**
523 * The present input associated with the issue. It is retained only when
524 * `options.reportInput` is `true`.
525 */
526 input?: unknown,
527 /**
528 * The effective parse options controlling input retention.
529 */
530 options?: SchemaAST.ParseOptions
531 ) {
532 super(input, options)
533 this.ast = ast
534 }
535}
536
537/**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected