Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/deno/cli/tsc/dts/lib.deno.ns.d.ts>Deno.errors.BrokenPipe

A modern runtime for JavaScript and TypeScript.
Go to Latest
class Deno.errors.BrokenPipe
extends Error
import { Deno } from "https://deno.land/x/deno@v1.40.5/cli/tsc/dts/lib.deno.ns.d.ts";
const { BrokenPipe } = Deno.errors;

Raised when trying to write to a resource and a broken pipe error occurs. This can happen when trying to write directly to stdout or stderr and the operating system is unable to pipe the output for a reason external to the Deno runtime.