mailtrain/lib/InteroperableError.js

11 lines
218 B
JavaScript
Raw Normal View History

'use strict';
class InteroperableError extends Error {
constructor(type, msg, data) {
super(msg);
this.type = type;
this.data = data;
}
}
module.exports = InteroperableError;