PickOutsideCanvasError
- class PickOutsideCanvasError()
Error object that is thrown when a user attempts to pick from a point outside the viewer canvas.
Constructors
Properties
Methods
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
- PickOutsideCanvasError.prepareStackTrace(err, stackTraces)
- Arguments
err (
Error()
) – NonestackTraces (
[CallSite]()
) – None
- Return type
any
- PickOutsideCanvasError.stackTraceLimit
- Type
number
Methods
static captureStackTrace
- PickOutsideCanvasError.captureStackTrace(targetObject[, constructorOpt])
- Arguments
targetObject (
object()
) – NoneconstructorOpt (
Function()
) – optional None
Create .stack property on a target object
- Return type
void