add critical error list

master
Vladimir Mandic 2021-11-14 10:42:42 -05:00
parent e26b155506
commit e0e2b9a2ac
1 changed files with 19 additions and 0 deletions

19
Diag.md

@ -104,3 +104,22 @@ console.log(human.env)
face: 390, emotion: 15, embedding: 97, body: 97, hand: 142, object: 312, gesture: 0
}
```
## All possible fatal errors
```text
Error(`modelpath error: expecting json file: ${path}`);
Error('input error: type is not recognized');
Error('input error: cannot create tensor');
Error('input error: cannot determine dimension');
Error('input error: attempted to use tensor but it is disposed');
Error('input error: attempted to use tensor without a shape');
Error(`input error: attempted to use tensor with unrecognized shape: ${input['shape']}`);
Error('canvas error: attempted to run in web worker but OffscreenCanvas is not supported');
Error('canvas error: attempted to run in browser but DOM is not defined');
Error('canvas error: attempted to use canvas in nodejs without canvas support installed');
Error('canvas error: cannot create output');
Error('backend error: attempting to use wasm backend but wasm path is not set');
Error('backend error: webgl context lost');
```