UNPKG

quelda

Version:

PDF & Illustrator security scanner (WebAssembly): files + policy in, verdict out

13 lines (12 loc) • 308 B
// Messages between the main thread (scanner.ts) and the worker (host.ts). // Internal: not part of the public API. export function errorMessage(e) { if (e instanceof Error) return e.message || e.name; try { return String(e); } catch { return 'unknown error'; } }