feat: replace mail protocol with smolmail and rebuild the UI

This commit is contained in:
randogoth 2026-09-26 22:45:38 +03:00
parent cb24b68069
commit e94e4158cc
93 changed files with 6387 additions and 3479 deletions

10
lib/smol/errors.dart Normal file
View file

@ -0,0 +1,10 @@
/// Raised for protocol-level failures (malformed envelopes, bad statuses,
/// unpinned servers); programmer errors keep throwing normally.
class SmolError implements Exception {
final String message;
const SmolError(this.message);
@override
String toString() => message;
}