ProbeError
本頁內容尚未翻譯。
Defined in: Fork.ts:33
A probe was unavailable, duplicated, or failed; failures retain their complete cause.
Extends
Section titled “Extends”- {
_tag:"ProbeError";cause?:Cause<unknown>;probe:string;reason:"Missing"|"Duplicate"|"Failed"|"Unavailable"; } &YieldableError<this> & {brand: typeofbrand; }
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new ProbeError(...args: [props: { _tag?: "ProbeError"; cause?: Cause<unknown>; probe: string; reason: "Missing" | "Duplicate" | "Failed" | "Unavailable";}, options?: MakeOptions]): ProbeError;Defined in: ../../../node_modules/.pnpm/effect@4.1.2/node_modules/effect/dist/Schema.d.ts:11613
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props: { _tag?: "ProbeError"; cause?: Cause<unknown>; probe: string; reason: "Missing" | "Duplicate" | "Failed" | "Unavailable"; }, options?: MakeOptions] |
Returns
Section titled “Returns”ProbeError
Properties
Section titled “Properties”| Property | Modifier | Type | Default value | Defined in |
|---|---|---|---|---|
_tag |
readonly |
"ProbeError" |
undefined |
../../../node_modules/.pnpm/effect@4.1.2/node_modules/effect/dist/Schema.d.ts:5110 |
brand |
readonly |
typeof brand |
undefined |
Fork.ts:35 |
cause? |
public |
Cause<unknown> |
... |
Fork.ts:39 |
probe |
readonly |
string |
Schema.String |
Fork.ts:37 |
reason |
readonly |
"Missing" | "Duplicate" | "Failed" | "Unavailable" |
... |
Fork.ts:38 |