Skip to content

ProcessExited

Defined in: Errors.ts:3

  • { _tag: "ProcessExited"; exitCode: number | null; pid: Option<number>; statusCause: Cause<unknown>; stderr: string; threadId?: number; } & YieldableError<this> & { brand: typeof brand; }
new ProcessExited(...args: [props: {
_tag?: "ProcessExited";
exitCode: number | null;
pid: Option<number>;
statusCause: Cause<unknown>;
stderr: string;
threadId?: number;
}, options?: MakeOptions]): ProcessExited;

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

Parameter Type
…args [props: { _tag?: "ProcessExited"; exitCode: number | null; pid: Option<number>; statusCause: Cause<unknown>; stderr: string; threadId?: number; }, options?: MakeOptions]

ProcessExited

Property Modifier Type Default value Defined in
_tag readonly "ProcessExited" undefined ../../../node_modules/.pnpm/effect@4.1.2/node_modules/effect/dist/Schema.d.ts:5110
brand readonly typeof brand undefined Errors.ts:5
exitCode readonly number | null ... Errors.ts:9
pid readonly Option<number> ... Errors.ts:7
statusCause readonly Cause<unknown> ... Errors.ts:11
stderr readonly string Schema.String Errors.ts:10
threadId? readonly number ... Errors.ts:8
get message(): string;

Defined in: Errors.ts:13

string