groupware: initial related emails implementation with SSE

This commit is contained in:
Pascal Bleser
2025-08-22 15:51:52 +02:00
parent 675e3e5fdb
commit c7bb866595
12 changed files with 543 additions and 80 deletions
+5 -1
View File
@@ -40,7 +40,11 @@ func (e SimpleError) Unwrap() error {
return e.err
}
func (e SimpleError) Error() string {
return e.err.Error()
if e.err != nil {
return e.err.Error()
} else {
return ""
}
}
func simpleError(err error, code int) Error {