1
0
Fork 0
mirror of https://git.sr.ht/~rjarry/aerc synced 2026-02-17 11:28:16 +01:00
aerc/worker/mbox
Robin Jarry 9855a4f9e5 mbox: centralize error and response handling
Refactor mbox message handlers to return errors instead of posting Done
or Error messages directly. The main Run loop now handles all response
posting, matching the pattern established in other worker backends.

This reduces code duplication and ensures consistent error handling
across all operations.

Signed-off-by: Robin Jarry <robin@jarry.cc>
Reviewed-by: Simon Martin <simon@nasilyan.com>
2026-02-09 14:46:27 +01:00
..
create.go lint: apply new formatting rules 2022-08-01 10:44:52 +02:00
io.go treewide: replace uint32 uids with opaque strings 2024-08-28 12:06:01 +02:00
models.go chore: switch to using stdlib helper functions 2025-08-04 12:47:05 +02:00
worker.go mbox: centralize error and response handling 2026-02-09 14:46:27 +01:00