Email Basics feature/118-emails #128

Merged
niggl merged 26 commits from feature/118-emails into dev 2021-01-27 16:46:36 +00:00
Showing only changes of commit c418603423 - Show all commits

12
src/errors/MailErrors.ts Normal file
View File

@ -0,0 +1,12 @@
import { IsString } from 'class-validator'
/**
* Error to throw when a permission couldn't be found.
*/
export class MailServerConfigError extends Error {
@IsString()
name = "MailServerConfigError"
@IsString()
message = "The SMTP server you provided couldn't be reached!"
}