resource-watch/converter

View on GitHub
app/src/errors/queryNotValid.js

Summary

Maintainability
A
1 hr
Test Coverage
F
20%

class QueryNotValid extends Error {

    constructor(code, message) {
        super(message);
        this.status = code;
        this.name = 'GeoStoreNotFound';
        this.message = message;
    }

}
module.exports = QueryNotValid;