12 lines
293 B
TypeScript
12 lines
293 B
TypeScript
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!"
|
|
} |