Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/proc/tools/deps/proc.ts>SignalError

A better way to work with processes in Deno.
Go to Latest
class SignalError
extends ProcessError
import { SignalError } from "https://deno.land/x/proc@0.21.9/tools/deps/proc.ts";

Thrown because the process exited due to a signal. By default, this is thrown for any signal but may be overridden.

Constructors

new
SignalError(
message: string,
command: string[],
signal: Deno.Signal,
options?: { cause?: Error; },
)