Skip to content

probe-web / @probe-web/client / targets / TargetsErrorKind

Type Alias: TargetsErrorKind

ts
type TargetsErrorKind = 
  | "bad-archive"
  | "no-pdsc"
  | "bad-pdsc"
  | "bad-elf"
  | "no-flash-device"
  | "targets";

Defined in: targets.ts:48

Errors carry a kind so callers can tell "wrong file" from "unsupported pack" without reading the message: bad-archive, no-pdsc, bad-pdsc, bad-elf, no-flash-device, or targets.