mailtrain/lib/InteroperableError.js
2017-06-04 13:16:29 +02:00

11 lines
No EOL
218 B
JavaScript

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