ErrorConstructor

@native @JSType trait ErrorConstructor extends StObject
trait StObject
class Object
trait Any
class Object
trait Matchable
class Any

Value members

Concrete methods

def captureStackTrace(targetObject: Object): Unit

Create .stack property on a target object

Create .stack property on a target object

def captureStackTrace(targetObject: Object, constructorOpt: Function): Unit

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 prepareStackTrace: UndefOr[Function2[Error, Array[CallSite], Any]]

Optional override for formatting stack traces

Optional override for formatting stack traces

See also
var stackTraceLimit: Double