Files
ezbookkeeping/pkg/errs/mail.go
T
2023-08-27 23:28:38 +08:00

10 lines
335 B
Go

package errs
import "net/http"
// Error codes related to mail
var (
ErrSMTPServerNotEnabled = NewSystemError(SystemSubcategoryMail, 0, http.StatusInternalServerError, "SMTP server is not enabled")
ErrSMTPServerHostInvalid = NewSystemError(SystemSubcategoryMail, 1, http.StatusInternalServerError, "SMTP server host is invalid")
)