This commit is contained in:
Bastian Wagner
2026-07-17 14:07:04 +02:00
parent 8c6ad294b2
commit 45a41c2077
64 changed files with 2032 additions and 83 deletions

View File

@@ -0,0 +1,23 @@
export class PortalMailTemplateError extends Error {
constructor(
message: string,
readonly templateName: string,
options?: { cause?: unknown },
) {
super(message);
this.name = 'PortalMailTemplateError';
this.cause = options?.cause;
}
}
export class PortalMailDeliveryError extends Error {
constructor(
message: string,
readonly templateName: string,
options?: { cause?: unknown },
) {
super(message);
this.name = 'PortalMailDeliveryError';
this.cause = options?.cause;
}
}