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

std/node/process.ts>emitWarning

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function emitWarning
import { emitWarning } from "https://deno.land/std@0.158.0/node/process.ts";

Parameters

warning: string | Error
type: { type: string; detail: string; code: string; ctor: Function; } | string | null
optional
code: string
optional
ctor: Function