Ghost/ghost/admin/app/errors/member-import-error.js

9 lines
239 B
JavaScript
Raw Normal View History

export default class EmailFailedError extends Error {
constructor({message, context, type = 'error'}) {
super(message);
this.name = 'MemberImportError';
this.context = context;
this.type = type;
}
}