resource-watch/doc-writer

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

Summary

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

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

}


module.exports = ElasticError;