Skip to main content

ERROR_CODES

const ERROR_CODES

Error codes of View3DError

Type: object

PROPERTYTYPEDESCRIPTION
WRONG_TYPE0The given value's type is not expected
ELEMENT_NOT_FOUND1The element with given CSS selector does not exist
CANVAS_NOT_FOUND2The element given is not a \<canvas> element
WEBGL_NOT_SUPPORTED3The browser does not support WebGL
PROVIDE_SRC_FIRST4init() is called before setting src
FILE_NOT_SUPPORTED5The given file is not supported
NOT_INITIALIZED6The action is called before the component is initialized
MODEL_FAIL_TO_LOAD7The 3D model failed to load