跳到內容

ConformanceError

本頁內容尚未翻譯。

Defined in: Testing.ts:19

  • { _tag: "ConformanceError"; cause?: Cause<unknown>; message: string; } & YieldableError<this> & { brand: typeof brand; }
new ConformanceError(...args: [props: {
_tag?: "ConformanceError";
cause?: Cause<unknown>;
message: string;
}, options?: MakeOptions]): ConformanceError;

Defined in: ../../../node_modules/.pnpm/effect@4.1.2/node_modules/effect/dist/Schema.d.ts:11613

Parameter Type
…args [props: { _tag?: "ConformanceError"; cause?: Cause<unknown>; message: string; }, options?: MakeOptions]

ConformanceError

Property Modifier Type Default value Defined in
_tag readonly "ConformanceError" undefined ../../../node_modules/.pnpm/effect@4.1.2/node_modules/effect/dist/Schema.d.ts:5110
brand readonly typeof brand undefined Testing.ts:21
cause? public Cause<unknown> ... Testing.ts:24
message public string Schema.String Testing.ts:23