resource-watch/widget

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

Summary

Maintainability
A
35 mins
Test Coverage
F
0%
class DuplicatedWidget extends Error {

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

}

module.exports = DuplicatedWidget;