PickOutsideCanvasError

class PickOutsideCanvasError()

Error object that is thrown when a user attempts to pick from a point outside the viewer canvas.

Constructors


Constructors

PickOutsideCanvasError.constructor()

Creates a new PickOutsideCanvasError

Return type

PickOutsideCanvasError

Properties

PickOutsideCanvasError.message
Type

string

PickOutsideCanvasError.name
Type

string

PickOutsideCanvasError.stack
Type

string optional

PickOutsideCanvasError.prepareStackTrace
Type

function optional

Optional override for formatting stack traces

See

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

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

  • stackTraces ([CallSite]()) – None

Return type

any

PickOutsideCanvasError.stackTraceLimit
Type

number

Methods

static captureStackTrace

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

  • constructorOpt (Function()) – optional None

Create .stack property on a target object

Return type

void