ERROR_CODES
const ERROR_CODES
Error codes of View3DError
Type: object
| PROPERTY | TYPE | DESCRIPTION | 
|---|---|---|
| WRONG_TYPE | 0 | The given value's type is not expected | 
| ELEMENT_NOT_FOUND | 1 | The element with given CSS selector does not exist | 
| CANVAS_NOT_FOUND | 2 | The element given is not a \<canvas> element | 
| WEBGL_NOT_SUPPORTED | 3 | The browser does not support WebGL | 
| PROVIDE_SRC_FIRST | 4 | init() is called before setting src | 
| FILE_NOT_SUPPORTED | 5 | The given file is not supported | 
| NOT_INITIALIZED | 6 | The action is called before the component is initialized | 
| MODEL_FAIL_TO_LOAD | 7 | The 3D model failed to load |