mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-05-03 09:20:50 -05:00
groupware: initial related emails implementation with SSE
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user