MissingModelError

class wv.MissingModelError()

Error object that is thrown when an invalid model path is specified when trying to load a model in a network session.

Constructors

wv.MissingModelError.constructor()
MissingModelError(modelPath: string): MissingModelError

Creates a new MissingModelError

Parameters

modelPath: string

Returns: MissingModelError

Properties

wv.MissingModelError.stackTraceLimit

static inherited

stackTraceLimit: number
wv.MissingModelError.prepareStackTrace

static optional inherited

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

Optional override for formatting stack traces

wv.MissingModelError.message

inherited

message: string
wv.MissingModelError.name

inherited

name: string
wv.MissingModelError.stack

optional inherited

stack: string

Methods

static wv.MissingModelError.captureStackTrace()

static inherited

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

Create .stack property on a target object

Parameters

targetObject: object

constructorOpt: Function

Returns: void