resource-watch/widget

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

Summary

Maintainability
A
35 mins
Test Coverage
F
25%
class WidgetProtected extends Error {

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

}

module.exports = WidgetProtected;