LoadCancelledError

class wv.LoadCancelledError()

Error object that is thrown when a model load is initiated during an invalid time such as when the model is currently being reset.

Constructors

wv.LoadCancelledError.constructor()
LoadCancelledError(): LoadCancelledError

Creates a new LoadCancelledError

Returns: LoadCancelledError

Properties

wv.LoadCancelledError.stackTraceLimit

static inherited

stackTraceLimit: number
wv.LoadCancelledError.prepareStackTrace

static optional inherited

prepareStackTrace: (err: Error, stackTraces: CallSite[]) => any

Optional override for formatting stack traces

wv.LoadCancelledError.message

inherited

message: string
wv.LoadCancelledError.name

inherited

name: string
wv.LoadCancelledError.stack

optional inherited

stack: string

Methods

static wv.LoadCancelledError.captureStackTrace()

static inherited

captureStackTrace(targetObject: object, constructorOpt: Function): void

Create .stack property on a target object

Parameters

targetObject: object

constructorOpt: Function

Returns: void