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

Method constructor

packages/effect/src/SchemaIssue.ts:216–238  ·  view source on GitHub ↗
(
    /**
     * The filter that failed.
     */
    filter: SchemaAST.Filter<any>,
    /**
     * The issue that occurred.
     */
    issue: 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

214 readonly issue: Issue
215
216 constructor(
217 /**
218 * The filter that failed.
219 */
220 filter: SchemaAST.Filter<any>,
221 /**
222 * The issue that occurred.
223 */
224 issue: Issue,
225 /**
226 * The present input associated with the issue. It is retained only when
227 * `options.reportInput` is `true`.
228 */
229 input?: unknown,
230 /**
231 * The effective parse options controlling input retention.
232 */
233 options?: SchemaAST.ParseOptions
234 ) {
235 super(input, options)
236 this.filter = filter
237 this.issue = issue
238 }
239}
240
241/**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected