EventMap.error property
Emitted for background failures, with the error and the name of the internal routine that caught it — a diagnostic label such as OnMessage, OnReadSafe or OnWatch, not an error code.
Signature:
error: [error: Error, eventName: string];
Remarks
Emitted only when at least one error listener is attached; otherwise the error is logged and swallowed so a background routine cannot crash the process. Errors are always written to IMQOptions.logger as well, and emission is informational — the queue keeps running.
Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.