UNPKG

@sugo/mongodb-queryparams

Version:

Unique Queryparams sintax (Inspired in Elastic Search) that creates queries for MongoDB

14 lines 534 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); class InvalidQueryParamException extends Error { constructor(param, paramValue) { super('An invalid QueryParam has been given'); this.status = 500; this.name = 'InvalidQueryParamException'; this.param = param; this.paramValue = paramValue; } } exports.InvalidQueryParamException = InvalidQueryParamException; exports.default = InvalidQueryParamException; //# sourceMappingURL=InvalidQueryParamException.js.map