LoadCancelledError

class 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


Constructors

LoadCancelledError.constructor()

Creates a new LoadCancelledError

Return type

LoadCancelledError

Properties

LoadCancelledError.message
Type

string

LoadCancelledError.name
Type

string

LoadCancelledError.stack
Type

string optional

LoadCancelledError.prepareStackTrace
Type

function optional

Optional override for formatting stack traces

See

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

LoadCancelledError.prepareStackTrace(err, stackTraces)
Arguments
  • err (Error()) – None

  • stackTraces ([CallSite]()) – None

Return type

any

LoadCancelledError.stackTraceLimit
Type

number

Methods

static captureStackTrace

LoadCancelledError.captureStackTrace(targetObject[, constructorOpt])
Arguments
  • targetObject (object()) – None

  • constructorOpt (Function()) – optional None

Create .stack property on a target object

Return type

void