parent
78d2ac3027
commit
c418603423
12
src/errors/MailErrors.ts
Normal file
12
src/errors/MailErrors.ts
Normal 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!"
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user