From e0e2b9a2ac15a4569abc1e8281e7636de2c45aef Mon Sep 17 00:00:00 2001 From: Vladimir Mandic Date: Sun, 14 Nov 2021 10:42:42 -0500 Subject: [PATCH] add critical error list --- Diag.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/Diag.md b/Diag.md index e7c0212..2efbb0d 100644 --- a/Diag.md +++ b/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'); +``` +