This commit is contained in:
2025-10-24 08:09:29 +00:00
commit be406f94f8
95 changed files with 27444 additions and 0 deletions

24
ts/errors/index.ts Normal file
View File

@@ -0,0 +1,24 @@
/**
* Error types module stub
*/
export class SmtpError extends Error {
constructor(message: string, public code?: number) {
super(message);
this.name = 'SmtpError';
}
}
export class AuthenticationError extends Error {
constructor(message: string) {
super(message);
this.name = 'AuthenticationError';
}
}
export class RateLimitError extends Error {
constructor(message: string) {
super(message);
this.name = 'RateLimitError';
}
}