# 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

- `constructor()`

Properties

- `message`

- `name`

- `stack`

- `prepareStackTrace`

- `stackTraceLimit`

Methods

- `captureStackTrace()`

## 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

  See

    https://v8.dev/docs/stack-trace-api#customizing-stack-traces

  MissingModelError.prepareStackTrace(err, stackTraces)
    Arguments

      - err (`Error()`) – None

      - stackTraces (`[CallSite]()`) – None

    Return type

      any

MissingModelError.stackTraceLimit
  Type

    number

## Methods

### static captureStackTrace

MissingModelError.captureStackTrace(targetObject[, constructorOpt])
  Arguments

    - targetObject (`object()`) – None

    - constructorOpt (`Function()`) – optional None

  Create .stack property on a target object

  Return type

    void