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

Method constructor

packages/effect/src/SchemaIssue.ts:653–670  ·  view source on GitHub ↗
(
    /**
     * The metadata for the issue.
     */
    annotations: Schema.Annotations.Issue | undefined,
    /**
     * 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

651 readonly annotations: Schema.Annotations.Issue | undefined
652
653 constructor(
654 /**
655 * The metadata for the issue.
656 */
657 annotations: Schema.Annotations.Issue | undefined,
658 /**
659 * The present input associated with the issue. It is retained only when
660 * `options.reportInput` is `true`.
661 */
662 input?: unknown,
663 /**
664 * The effective parse options controlling input retention.
665 */
666 options?: SchemaAST.ParseOptions
667 ) {
668 super(input, options)
669 this.annotations = annotations
670 }
671}
672
673/**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected