@visulima/email
Version:
A comprehensive email library with multi-provider support, crypto utilities, and template engines
18 lines (17 loc) • 610 B
TypeScript
import { VisulimaError } from "@visulima/error";
/**
* Base error class for email package operations.
* @param component The component name where the error occurred.
* @param message The error message describing what went wrong.
* @param options Optional error options including cause, code, and hint.
*/
declare class EmailError extends VisulimaError {
readonly component: string;
readonly code?: string;
constructor(component: string, message: string, options?: {
cause?: Error | unknown;
code?: string;
hint?: string | string[];
});
}
export default EmailError;