basalt / mailer/src / MailDeliveryError
Class: MailDeliveryError
Defined in: mailer/src/message.ts:52
An API-based driver (Resend, SES, …) got a non-success response from the provider.
Extends
Constructors
Constructor
> new MailDeliveryError(driver, httpStatus, detail): MailDeliveryError
Defined in: mailer/src/message.ts:53
Parameters
driver
string
httpStatus
number
detail
string
Returns
MailDeliveryError
Overrides
Properties
code
> readonly code: string
Defined in: core/src/errors.ts:25
Inherited from
detail
> readonly detail: string
Defined in: mailer/src/message.ts:56
details?
> readonly optional details?: Record<string, unknown>
Defined in: core/src/errors.ts:28
Structured payload passed to the constructor, exactly as given (never sanitised here).
Inherited from
driver
> readonly driver: string
Defined in: mailer/src/message.ts:54
httpStatus
> readonly httpStatus: number
Defined in: mailer/src/message.ts:55