{"_id":"mumba-errors","_rev":"82-fb97fb3c9d5b48e199e641e80e2e8af3","name":"mumba-errors","dist-tags":{"latest":"0.1.6"},"versions":{"0.1.0":{"name":"mumba-errors","version":"0.1.0","keywords":["errors","error list","validate","validation","validation errors","typescript"],"author":{"name":"Mumba Pty Ltd"},"license":"Apache-2.0","_id":"mumba-errors@0.1.0","maintainers":[{"name":"mumbacloud","email":"development@mumbacloud.com"}],"homepage":"https://gitlab.com/Mumba/node-errors#readme","bugs":{"url":"https://gitlab.com/Mumba/node-errors/issues"},"dist":{"shasum":"4dfc236482900c595eaa35fd2d9124b0ce66222a","tarball":"https://registry.npmjs.org/mumba-errors/-/mumba-errors-0.1.0.tgz","integrity":"sha512-nssMKXVY0l7Av61TbJqqNzWbUCaGuP8PG2xC8oKJQjodtjafONxyOroQ0Ok5lDt3g2Ve4mNbfr6kfWG1TLIVHg==","signatures":[{"sig":"MEUCIBtvE7LTUUig0YcCMaHyjLa5NdFDk4x+ywt/tQv9TlA9AiEAglRP0hkuS95snccga+IED32jRL6qiw199AM7xT20WOQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/src/index.js","_from":".","_shasum":"4dfc236482900c595eaa35fd2d9124b0ce66222a","engines":{"node":">=0.12"},"gitHead":"3f04c0d0112b83b62ef5ed8c5231083760be877f","scripts":{"test":"npm run clean && npm run compile && npm run test:unit","clean":"rm -Rf dist","cover":"npm run clean && npm run compile && node_modules/.bin/istanbul cover node_modules/.bin/_mocha -- -R spec test","patch":"npm test && npm version patch && git push --follow-tags","compile":"tsc -p .","test:unit":"mocha test --no-colors"},"typings":"dist/src/index","_npmUser":{"name":"mumbacloud","email":"development@mumbacloud.com"},"repository":{"url":"git+ssh://git@gitlab.com/Mumba/node-errors.git","type":"git"},"_npmVersion":"3.10.7","description":"A set of classes for managing lists of errors.","directories":{},"_nodeVersion":"6.5.0","dependencies":{},"devDependencies":{"mocha":"^3.0.2","istanbul":"^0.4.5","typescript":"^1.8.10"},"_npmOperationalInternal":{"tmp":"tmp/mumba-errors-0.1.0.tgz_1473900883823_0.364142571343109","host":"packages-12-west.internal.npmjs.com"}},"0.1.1":{"name":"mumba-errors","version":"0.1.1","keywords":["errors","error list","validate","validation","validation errors","typescript"],"author":{"name":"Mumba Pty Ltd"},"license":"Apache-2.0","_id":"mumba-errors@0.1.1","maintainers":[{"name":"mumbacloud","email":"development@mumbacloud.com"}],"homepage":"https://gitlab.com/Mumba/node-errors#readme","bugs":{"url":"https://gitlab.com/Mumba/node-errors/issues"},"dist":{"shasum":"0daf81300ce816c2c934ecfd3b12d40f51f234dd","tarball":"https://registry.npmjs.org/mumba-errors/-/mumba-errors-0.1.1.tgz","integrity":"sha512-fN2sW4xjMoiSLEmhTtTzJhd0eeSndLrSqY24+JX0F3lYzviI6DE/WzwVnziiDCOMZ8lX2MyTnasiCaxq0Mf3JQ==","signatures":[{"sig":"MEUCIAbBxF7UOPE82ZjW5PDiTt9s5qGyCoWNq7jm3vAOAfCkAiEAqe6e3z1Eq9t5L1rSEA1/3JsVQRp/orvDmRW+BpZz4cI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/src/index.js","_from":".","_shasum":"0daf81300ce816c2c934ecfd3b12d40f51f234dd","engines":{"node":">=0.12"},"gitHead":"1aa36789c4880405faa6bd17632e687f388ea79c","scripts":{"test":"npm run clean && npm run compile && npm run test:unit","clean":"rm -Rf dist","cover":"npm run clean && npm run compile && node_modules/.bin/istanbul cover node_modules/.bin/_mocha -- -R spec test","patch":"npm test && npm version patch && npm publish && git push --follow-tags","compile":"tsc -p .","test:unit":"mocha test --no-colors"},"typings":"dist/src/index","_npmUser":{"name":"mumbacloud","email":"development@mumbacloud.com"},"repository":{"url":"git+ssh://git@gitlab.com/Mumba/node-errors.git","type":"git"},"_npmVersion":"3.10.7","description":"A set of classes for managing lists of errors.","directories":{},"_nodeVersion":"6.5.0","dependencies":{},"devDependencies":{"mocha":"^3.0.2","istanbul":"^0.4.5","typescript":"^1.8.10"},"_npmOperationalInternal":{"tmp":"tmp/mumba-errors-0.1.1.tgz_1473999445811_0.9605346692260355","host":"packages-12-west.internal.npmjs.com"}},"0.1.2":{"name":"mumba-errors","version":"0.1.2","keywords":["errors","error list","validate","validation","validation errors","typescript"],"author":{"name":"Mumba Pty Ltd"},"license":"Apache-2.0","_id":"mumba-errors@0.1.2","maintainers":[{"name":"mumbacloud","email":"development@mumbacloud.com"}],"homepage":"https://gitlab.com/Mumba/node-errors#readme","bugs":{"url":"https://gitlab.com/Mumba/node-errors/issues"},"dist":{"shasum":"3388a9441c3a5798644fa80aa3a865f294c91a82","tarball":"https://registry.npmjs.org/mumba-errors/-/mumba-errors-0.1.2.tgz","integrity":"sha512-KpJaqeWOh5MQBDIAIAmvskrEtGe7k6S3vQRg0GKlZjGGhe6zUQ+fLCindACL2vmbDLrF9ZAxS1bzly2hrVKbGw==","signatures":[{"sig":"MEYCIQCs8AQCQFbq3mKpJOKBKLx2OeuTRoO5TcejUyKC+W52SQIhAKOCP8v9Fg66iuzYO0i2E+bXhbQ3TPSqNyp7PDnlqvOe","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/src/index.js","_from":".","_shasum":"3388a9441c3a5798644fa80aa3a865f294c91a82","engines":{"node":">=0.12"},"gitHead":"69521ea010a5c3476a8279f124af8fb52b63ccdc","scripts":{"test":"npm run clean && npm run compile && npm run test:unit","clean":"rm -Rf dist","cover":"npm run clean && npm run compile && node_modules/.bin/istanbul cover node_modules/.bin/_mocha -- -R spec test","patch":"npm test && npm version patch && npm publish && git push --follow-tags","compile":"tsc -p .","test:unit":"mocha test --no-colors"},"typings":"dist/src/index","_npmUser":{"name":"mumbacloud","email":"development@mumbacloud.com"},"repository":{"url":"git+ssh://git@gitlab.com/Mumba/node-errors.git","type":"git"},"_npmVersion":"3.10.7","description":"A set of classes for managing lists of errors.","directories":{},"_nodeVersion":"6.5.0","dependencies":{},"devDependencies":{"mocha":"^3.0.2","istanbul":"^0.4.5","typescript":"^1.8.10"},"_npmOperationalInternal":{"tmp":"tmp/mumba-errors-0.1.2.tgz_1474250261245_0.8906206018291414","host":"packages-16-east.internal.npmjs.com"}},"0.1.3":{"name":"mumba-errors","version":"0.1.3","keywords":["errors","error list","validate","validation","validation errors","typescript"],"author":{"name":"Mumba Pty Ltd"},"license":"Apache-2.0","_id":"mumba-errors@0.1.3","maintainers":[{"name":"mumbacloud","email":"development@mumbacloud.com"}],"homepage":"https://gitlab.com/Mumba/node-errors#readme","bugs":{"url":"https://gitlab.com/Mumba/node-errors/issues"},"dist":{"shasum":"f8e5cca0c5bb69ae0f5f0ead46ac92c52d96c93e","tarball":"https://registry.npmjs.org/mumba-errors/-/mumba-errors-0.1.3.tgz","integrity":"sha512-US2hGSOpQLAnDBmOoiBE8TwIbUYmnY2wSQIoeWHbYe7m9JSpsiJmwbqtYOq/xiB+csnUBanyF0w0jUS32ItC5w==","signatures":[{"sig":"MEUCIF1vDoZaF/ezQA0HL1vxcDt1AIorx2/XaKenoSvb+sZZAiEA8ITvwbSPnRpf4jbNa1NRd7qbiQq3X631vT3harP+tEs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/src/index.js","_from":".","_shasum":"f8e5cca0c5bb69ae0f5f0ead46ac92c52d96c93e","engines":{"node":">=0.12"},"gitHead":"d54cc83fe9781da40b724f4d656387238de6150f","scripts":{"test":"npm run clean && npm run compile && npm run test:unit","clean":"rm -Rf dist","cover":"npm run clean && npm run compile && node_modules/.bin/istanbul cover node_modules/.bin/_mocha -- -R spec test","patch":"npm test && npm version patch && npm publish && git push --follow-tags","compile":"tsc -p .","test:unit":"mocha test --no-colors"},"typings":"dist/src/index","_npmUser":{"name":"mumbacloud","email":"development@mumbacloud.com"},"repository":{"url":"git+ssh://git@gitlab.com/Mumba/node-errors.git","type":"git"},"_npmVersion":"3.10.7","description":"A set of classes for managing lists of errors.","directories":{},"_nodeVersion":"6.5.0","dependencies":{},"devDependencies":{"mocha":"^3.0.2","istanbul":"^0.4.5","typescript":"^1.8.10"},"_npmOperationalInternal":{"tmp":"tmp/mumba-errors-0.1.3.tgz_1474333414178_0.6520916852168739","host":"packages-12-west.internal.npmjs.com"}},"0.1.4":{"name":"mumba-errors","version":"0.1.4","keywords":["errors","error list","validate","validation","validation errors","typescript"],"author":{"name":"Mumba Pty Ltd"},"license":"Apache-2.0","_id":"mumba-errors@0.1.4","maintainers":[{"name":"mumbacloud","email":"development@mumbacloud.com"}],"homepage":"https://gitlab.com/Mumba/node-errors#readme","bugs":{"url":"https://gitlab.com/Mumba/node-errors/issues"},"dist":{"shasum":"ea889303503182b5c91087c6971481852545dc99","tarball":"https://registry.npmjs.org/mumba-errors/-/mumba-errors-0.1.4.tgz","integrity":"sha512-gnLp3Z8Ki8v+KVBpLcj8PYwKTaprVnVxvYGs8R8lwSDrWB6+WsZmDw1Yr2/MmClhXRwxOtBI0sZIXN3iuCQNWw==","signatures":[{"sig":"MEYCIQDtQvoax09zkGDCstjhWcQzQuwZ4/vTe2ap1t/i79LPQAIhAMPDyOQX5l8fyBgab2IJXYeCCUas+O8ABvQch9rby07H","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/src/index.js","_from":".","_shasum":"ea889303503182b5c91087c6971481852545dc99","engines":{"node":">=0.12"},"gitHead":"1f36f4e0ea17e12555ebc0f9fa56d71089d18cdf","scripts":{"test":"npm run clean && npm run compile && npm run test:unit","clean":"rm -Rf dist","cover":"npm run clean && npm run compile && node_modules/.bin/istanbul cover node_modules/.bin/_mocha -- -R spec test","patch":"npm test && npm version patch && npm publish && git push --follow-tags","compile":"tsc -p .","test:unit":"mocha test --no-colors"},"typings":"dist/src/index","_npmUser":{"name":"mumbacloud","email":"development@mumbacloud.com"},"repository":{"url":"git+ssh://git@gitlab.com/Mumba/node-errors.git","type":"git"},"_npmVersion":"3.10.8","description":"A set of classes for managing lists of errors.","directories":{},"_nodeVersion":"6.5.0","dependencies":{},"devDependencies":{"mocha":"^3.1.2","istanbul":"^0.4.5","typescript":"^2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/mumba-errors-0.1.4.tgz_1477531751626_0.9368173822294921","host":"packages-18-east.internal.npmjs.com"}},"0.1.5":{"name":"mumba-errors","version":"0.1.5","keywords":["errors","error list","validate","validation","validation errors","typescript"],"author":{"name":"Mumba Pty Ltd"},"license":"Apache-2.0","_id":"mumba-errors@0.1.5","maintainers":[{"name":"mumbacloud","email":"development@mumbacloud.com"}],"homepage":"https://gitlab.com/Mumba/node-errors#readme","bugs":{"url":"https://gitlab.com/Mumba/node-errors/issues"},"dist":{"shasum":"c5af8072d6ba281cff59277989dce4b471f8856e","tarball":"https://registry.npmjs.org/mumba-errors/-/mumba-errors-0.1.5.tgz","integrity":"sha512-bwu5sBX3IFEhCUdAdP8ngHdJ0IfufydFm4ih563xoj3ev2f8tIjJ0MDV73NQ/9SnHlwGAdwcflHpMezMOOAZQA==","signatures":[{"sig":"MEQCICY3pFAaCbQl3StNLcYvOUJ5j9bC8HYY0iphyjiHsA7vAiArQaQDKaB6VFqt73SvietEtJ5rNOmRS3ehOa9bTFxgxg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/src/index.js","_from":".","_shasum":"c5af8072d6ba281cff59277989dce4b471f8856e","engines":{"node":">=0.12"},"gitHead":"90bfad88442d6ebdffe134aa77e63b7326d93a4f","scripts":{"test":"npm run clean && npm run compile && npm run test:unit","clean":"rm -Rf dist","cover":"npm run clean && npm run compile && node_modules/.bin/istanbul cover node_modules/.bin/_mocha -- -R spec test","patch":"npm test && npm version patch && npm publish && git push --follow-tags","compile":"tsc -p .","test:unit":"mocha test --no-colors"},"typings":"dist/src/index","_npmUser":{"name":"mumbacloud","email":"development@mumbacloud.com"},"repository":{"url":"git+ssh://git@gitlab.com/Mumba/node-errors.git","type":"git"},"_npmVersion":"3.10.9","description":"A set of classes for managing lists of errors.","directories":{},"_nodeVersion":"6.5.0","dependencies":{},"devDependencies":{"mocha":"^3.2.0","istanbul":"^0.4.5","typescript":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/mumba-errors-0.1.5.tgz_1486678625448_0.2219531354494393","host":"packages-12-west.internal.npmjs.com"}},"0.1.6":{"name":"mumba-errors","version":"0.1.6","keywords":["errors","error list","validate","validation","validation errors","typescript"],"author":{"name":"Mumba Pty Ltd"},"license":"Apache-2.0","_id":"mumba-errors@0.1.6","maintainers":[{"name":"mumbacloud","email":"development@mumbacloud.com"}],"homepage":"https://gitlab.com/Mumba/node-errors#readme","bugs":{"url":"https://gitlab.com/Mumba/node-errors/issues"},"dist":{"shasum":"6ef40538d509e92fa17d18b9149e3eb5394a5fd7","tarball":"https://registry.npmjs.org/mumba-errors/-/mumba-errors-0.1.6.tgz","integrity":"sha512-sXPsNxZAxkdUTN4tjO7iCbSvk5rMMn6iPcQ53W1BLOzqnkf71ZgPVoJ3j7T9horDIME8xU1AWKbYK/IsjvZZKw==","signatures":[{"sig":"MEYCIQDDAgiZyPEyVoS0nNF6i2gOE8PXs9q1XnpQ8PtpddBGGgIhAMD80r9hj0XZmtWtfmakNjXwU5AQNmi9I6+ViD0wwMxW","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/src/index.js","_from":".","_shasum":"6ef40538d509e92fa17d18b9149e3eb5394a5fd7","engines":{"node":">=0.12"},"gitHead":"e419f2a397e69d88d7d619fcb86de2cb2a9c81df","scripts":{"test":"npm run clean && npm run compile && npm run test:unit","clean":"rm -Rf dist","cover":"npm run clean && npm run compile && node_modules/.bin/istanbul cover node_modules/.bin/_mocha -- -R spec test","patch":"npm test && npm version patch && npm publish && git push --follow-tags","compile":"tsc -p .","test:unit":"mocha test --no-colors"},"typings":"dist/src/index","_npmUser":{"name":"mumbacloud","email":"development@mumbacloud.com"},"repository":{"url":"git+ssh://git@gitlab.com/Mumba/node-errors.git","type":"git"},"_npmVersion":"3.10.9","description":"A set of classes for managing lists of errors.","directories":{},"_nodeVersion":"6.5.0","dependencies":{},"devDependencies":{"mocha":"^3.2.0","istanbul":"^0.4.5","typescript":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/mumba-errors-0.1.6.tgz_1487553034155_0.6818060090299696","host":"packages-18-east.internal.npmjs.com"}}},"time":{"created":"2016-09-15T00:54:44.073Z","modified":"2026-02-06T05:31:46.519Z","0.1.0":"2016-09-15T00:54:44.073Z","0.1.1":"2016-09-16T04:17:26.056Z","0.1.2":"2016-09-19T01:57:44.341Z","0.1.3":"2016-09-20T01:03:34.412Z","0.1.4":"2016-10-27T01:29:15.160Z","0.1.5":"2017-02-09T22:17:05.664Z","0.1.6":"2017-02-20T01:10:36.116Z"},"bugs":{"url":"https://gitlab.com/Mumba/node-errors/issues"},"author":{"name":"Mumba Pty Ltd"},"license":"Apache-2.0","homepage":"https://gitlab.com/Mumba/node-errors#readme","keywords":["errors","error list","validate","validation","validation errors","typescript"],"repository":{"url":"git+ssh://git@gitlab.com/Mumba/node-errors.git","type":"git"},"description":"A set of classes for managing lists of errors.","maintainers":[{"email":"infrastructure@mumba.cloud","name":"mumba.cloud"},{"email":"dennis.barba@mumbacloud.com","name":"dennis.barbamumba"},{"email":"arvin.domingo@mumbacloud.com","name":"arvin.domingo"},{"email":"joseph.martin@mumbacloud.com","name":"joseph.mumbacloud"}],"readme":"[![build status](https://gitlab.com/Mumba/node-errors/badges/master/build.svg)](https://gitlab.com/Mumba/node-errors/commits/master)\n[![coverage report](https://gitlab.com/Mumba/node-errors/badges/master/coverage.svg)](https://gitlab.com/Mumba/node-errors/commits/master)\n## Mumba Errors\n\nA set of classes for managing lists of errors.\n\n## Installation\n\n```sh\n$ npm install --save mumba-errors\n```\n\n## Examples\n\n```typescript\nimport {ValidationErrors} from 'mumba-errors';\n\nlet data = {\n\ttitle: 'foo'\n};\nlet errors = new ValidationErrors();\n\nif (data.title.length < 8) {\n\terrors.minLength('title', 8);\n}\n\nif (errors.any()) {\n\tconsole.log(JSON.stringify(errors, null, 2));\n}\n```\n\nOutputs:\n\n```json\n{\n  \"$errors\": [\n    {\n      \"property\": \"title\",\n      \"type\": \"length.minimum\",\n      \"expects\": 8\n    }\n  ]\n}\n```\n\n## Tests\n\nTo run the test suite, first install the dependencies, then run `npm test`:\n\n```sh\n$ npm install\n$ npm test\n```\n\n## People\n\nThe original author of _Mumba Errors_ is [Andrew Eddie](https://gitlab.com/u/aeddie.mumba).\n\n[List of all contributors](https://gitlab.com/Mumba/node-errors/graphs/master)\n\n## License\n\n[Apache 2.0](LICENSE.txt)\n\n* * *\n\n&copy; 2016 [Mumba Pty Ltd](http://www.mumba.cloud). All rights reserved.\n","readmeFilename":"README.md"}