UNPKG

mailosaur

Version:

The Mailosaur Node library lets you integrate email and SMS testing into your continuous integration process.

12 lines (9 loc) 302 B
class MailosaurError extends Error { constructor(message, errorType, httpStatusCode = null, httpResponseBody = null) { super(message); this.errorType = errorType; this.httpStatusCode = httpStatusCode; this.httpResponseBody = httpResponseBody; } } module.exports = MailosaurError;