InternalLogicError

class InternalLogicError()

Error object that is thrown when the viewer has entered into an invalid state. This most likely is due to an error in the viewer. Please reach out to support if you can reliably reproduce this error.

Constructors


Constructors

InternalLogicError.constructor()

Creates a new InternalLogicError

Return type

InternalLogicError

Properties

InternalLogicError.message
Type

string

InternalLogicError.name
Type

string

InternalLogicError.stack
Type

string optional

InternalLogicError.prepareStackTrace
Type

function optional

Optional override for formatting stack traces

See

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

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

  • stackTraces ([CallSite]()) – None

Return type

any

InternalLogicError.stackTraceLimit
Type

number

Methods

static captureStackTrace

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

  • constructorOpt (Function()) – optional None

Create .stack property on a target object

Return type

void