resource-watch/layer

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

Summary

Maintainability
A
35 mins
Test Coverage
F
25%

class LayerDuplicated extends Error {

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

}

module.exports = LayerDuplicated;