InvalidSizeError
@3dverse/livelink / InvalidSizeError
Class: InvalidSizeError
Defined in: livelink.js/sources/rendering/surfaces/Rect.ts:89
Occurs when an element has an invalid size.
Extends
Error
Constructors
new InvalidSizeError()
new InvalidSizeError(
rect
):InvalidSizeError
Defined in: livelink.js/sources/rendering/surfaces/Rect.ts:98
Parameters
rect
DOMRect
Returns
Overrides
Error.constructor
Properties
rect
rect:
DOMRect
Defined in: livelink.js/sources/rendering/surfaces/Rect.ts:93
Element bounds.
cause?
optional
cause:unknown
Defined in: node_modules/typescript/lib/lib.es2022.error.d.ts:24
Inherited from
Error.cause
name
name:
string
Defined in: node_modules/typescript/lib/lib.es5.d.ts:1076
Inherited from
Error.name
message
message:
string
Defined in: node_modules/typescript/lib/lib.es5.d.ts:1077
Inherited from
Error.message
stack?
optional
stack:string
Defined in: node_modules/typescript/lib/lib.es5.d.ts:1078
Inherited from
Error.stack