11 lines
No EOL
218 B
JavaScript
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; |