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

Method constructor

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

577 readonly annotations: Schema.Annotations.Issue | undefined
578
579 constructor(
580 /**
581 * The metadata for the issue.
582 */
583 annotations?: Schema.Annotations.Issue | undefined,
584 /**
585 * The present input associated with the issue. It is retained only when
586 * `options.reportInput` is `true`.
587 */
588 input?: unknown,
589 /**
590 * The effective parse options controlling input retention.
591 */
592 options?: SchemaAST.ParseOptions
593 ) {
594 super(input, options)
595 this.annotations = annotations
596 }
597}
598
599/** @internal */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected