probe-web / @probe-web/client / index / ProbeWebError
Interface: ProbeWebError
Defined in: index.ts:169
The shape of errors the SDK throws. Check kind rather than the message to decide how to react; errors from the Rust side carry it too.
Extends
Error
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
kind? | string | A machine-readable category, e.g. transport, remote, probe-in-use-other-tab, probe-not-found, worker-crashed, unsupported, not-halted, stale-reference. | index.ts:174 |
connectUnderReset? | boolean | On an attach-failed error: whether that attach was already made under reset. When it was not, retrying with AttachOptions.connectUnderReset may help. | index.ts:179 |