EmitWarningOptions

@native @JSType trait EmitWarningOptions extends StObject
Companion
object
trait StObject
class Object
trait Any
class Object
trait Matchable
class Any

Value members

Inherited methods

def hasOwnProperty(v: String): Boolean
Inherited from
Object
def isPrototypeOf(v: Object): Boolean
Inherited from
Object
def propertyIsEnumerable(v: String): Boolean
Inherited from
Object
def toLocaleString(): String
Inherited from
Object
def valueOf(): Any
Inherited from
Object

Concrete fields

var `type`: UndefOr[String]

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

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

var code: UndefOr[String]

A unique identifier for the warning instance being emitted.

A unique identifier for the warning instance being emitted.

var ctor: UndefOr[Function]

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

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

var detail: UndefOr[String]

Additional text to include with the error.

Additional text to include with the error.