mirror of
https://github.com/bulwarkmail/webmail.git
synced 2026-10-31 16:13:15 +00:00
12 lines
424 B
TypeScript
12 lines
424 B
TypeScript
/**
|
|
* A reschedule canceled the original submission, could not create the
|
|
* replacement, and put the original back. The message still goes out at its
|
|
* old time, under a new submission id.
|
|
*/
|
|
export class RescheduleRestoredError extends Error {
|
|
constructor(message: string, readonly restoredSubmissionId: string, readonly restoredSendAt?: string) {
|
|
super(message);
|
|
this.name = 'RescheduleRestoredError';
|
|
}
|
|
}
|