deno.com

interface EmitWarningOptions

Properties #

#type: string | undefined
optional

When warning is a string, type is the name to use for the type of warning being emitted.

#code: string | undefined
optional

A unique identifier for the warning instance being emitted.

#ctor: Function | undefined
optional

When warning is a string, ctor is an optional function used to limit the generated stack trace.

#detail: string | undefined
optional

Additional text to include with the error.