Transport
Dead-Letter Store
The dead-letter store is the fallback when transport cannot complete. It keeps the package on disk so the process can retry later instead of dropping the incident.
errorcore.init({
deadLetterDir: ".errorcore/dead-letter",
});Use a persistent writable path. If the directory disappears on restart, so does the recovery path.