vitessce
Version:
Vitessce app and React component library
15 lines (13 loc) • 386 B
JavaScript
/**
* A loader error ancestor class containing a default constructor
* and a stub for the required warnInConsole() method.
*/
export default class AbstractLoaderError {
constructor(message) {
this.message = message;
}
// eslint-disable-next-line class-methods-use-this
warnInConsole() {
throw new Error('The warnInConsole() method has not been implemented.');
}
}