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

Method constructor

packages/effect/src/SchemaIssue.ts:406–423  ·  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

404 */
405 readonly ast: SchemaAST.AST
406 constructor(
407 /**
408 * The schema that caused the issue.
409 */
410 ast: SchemaAST.AST,
411 /**
412 * The present input associated with the issue. It is retained only when
413 * `options.reportInput` is `true`.
414 */
415 input?: unknown,
416 /**
417 * The effective parse options controlling input retention.
418 */
419 options?: SchemaAST.ParseOptions
420 ) {
421 super(input, options)
422 this.ast = ast
423 }
424}
425
426/**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected