resource-watch/doc-orchestrator

View on GitHub
app/src/errors/task-not-found.error.js

Summary

Maintainability
A
35 mins
Test Coverage
A
100%
class TaskNotFound extends Error {

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

}

module.exports = TaskNotFound;