MissingModelError
- class MissingModelError()
Error object that is thrown when an invalid model path is specified when trying to load a model in a network session.
Constructors
Properties
Methods
Constructors
- MissingModelError.constructor(modelPath)
- Arguments
modelPath (
string()
) – None
Creates a new MissingModelError
- Return type
MissingModelError
Properties
- MissingModelError.message
- Type
string
- MissingModelError.name
- Type
string
- MissingModelError.stack
- Type
string optional
- MissingModelError.prepareStackTrace
- Type
function optional
Optional override for formatting stack traces
- MissingModelError.prepareStackTrace(err, stackTraces)
- Arguments
err (
Error()
) – NonestackTraces (
[CallSite]()
) – None
- Return type
any
- MissingModelError.stackTraceLimit
- Type
number
Methods
static captureStackTrace
- MissingModelError.captureStackTrace(targetObject[, constructorOpt])
- Arguments
targetObject (
object()
) – NoneconstructorOpt (
Function()
) – optional None
Create .stack property on a target object
- Return type
void