跳到內容

PublicationError

本頁內容尚未翻譯。

Defined in: internal/publicationModel.ts:12

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

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

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

PublicationError

Property Modifier Type Default value Defined in
_tag readonly "PublicationError" undefined ../../../node_modules/.pnpm/effect@4.1.2/node_modules/effect/dist/Schema.d.ts:5110
brand readonly typeof brand undefined internal/publicationModel.ts:14
cause? public Cause<unknown> ... internal/publicationModel.ts:17
message public string Schema.String internal/publicationModel.ts:16