Error thrown when DaVinci operations fail.
Extends PingError to allow per-package instanceof narrowing.
instanceof
try { await client.start();} catch (err) { if (err instanceof DaVinciError) { console.error(err.code, err.message); }} Copy
try { await client.start();} catch (err) { if (err instanceof DaVinciError) { console.error(err.code, err.message); }}
Optional
Static
Converts any thrown value into a DaVinciError.
DaVinciError
Thrown value from a native or JS rejection.
A DaVinciError preserving the original error fields when available.
Error thrown when DaVinci operations fail.
Extends PingError to allow per-package
instanceofnarrowing.Example