11 lines
218 B
JavaScript
11 lines
218 B
JavaScript
|
'use strict';
|
||
|
|
||
|
class InteroperableError extends Error {
|
||
|
constructor(type, msg, data) {
|
||
|
super(msg);
|
||
|
this.type = type;
|
||
|
this.data = data;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
module.exports = InteroperableError;
|