resource-watch/widget

View on GitHub
app/src/errors/widgetNotFound.error.js

Summary

Maintainability
A
35 mins
Test Coverage
A
100%
class WidgetNotFound extends Error {

    constructor(message) {
        super(message);
        this.name = 'WidgetNotFound';
        this.message = message;
    }

}

module.exports = WidgetNotFound;