jormaechea/open-api-mocker

View on GitHub
lib/errors/parser-error.js

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
'use strict';

class ParserError extends Error {

    constructor(message, errorPath) {
        super(`${message} in ${errorPath}`);
    }
}

module.exports = ParserError;