{"_id":"@atlas-engine/error_provider","_rev":"47-947497f9bcdd26c98403595794373207","name":"@atlas-engine/error_provider","dist-tags":{"beta":"1.0.5-beta.1","latest":"1.0.5","alpha":"1.0.5-alpha.1"},"versions":{"1.0.0":{"name":"@atlas-engine/error_provider","version":"1.0.0","author":{"name":"5Minds IT-Solutions GmbH & Co. KG"},"license":"MIT","_id":"@atlas-engine/error_provider@1.0.0","maintainers":[{"name":"rrrene","email":"rf@bamaru.de"},{"name":"alexanderkasten","email":"alexander.kasten@5minds.de"},{"name":"moellenbeck","email":"martin.moellenbeck@5minds.de"},{"name":"obivarg","email":"christian.werner@5minds.de"}],"homepage":"https://github.com/atlas-engine/ErrorProvider#readme","bugs":{"url":"https://github.com/atlas-engine/ErrorProvider/issues"},"dist":{"shasum":"d8c9f5f76d24468bed72c7f66114446e54180f7a","tarball":"https://registry.npmjs.org/@atlas-engine/error_provider/-/error_provider-1.0.0.tgz","fileCount":374,"integrity":"sha512-zk7Q6xffe0hAAFKH50FdKFlhfbaAME+3xF56r62mJEbmFZjShWznrdDedVKlWpnDHyxgbT9rDsc2auwLmhgpbg==","signatures":[{"sig":"MEUCIQCmxLK0FH/gVCbOooK46RpfNef9CgLlwpqi05yIJ+79jQIgflVkUqubqFN2lt0GTiTAU+oAPKjXqg/mixvTx8hZEQ0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":194522,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd8gxoCRA9TVsSAnZWagAAjuQQAKUQqKx97CzhNx5rXx6y\n0tK26H+8204X0VZ9ZepVVAD+JdlCZ5wK5yA4UJGlLOFkss0bGfndw37bbXk8\nH77gjaDFGXlNN9uZvUlytoq7O8s6aV4fxhrv9eYVfRcOVAPhogNMOVHCf2q/\nnh198WjUXeFO6k5ZjY4Yj4GHDe68vGT3gzbQNu0jkQu6z+b4uAiiQJDSakeS\nlIriNpRz39NNizz++X7Psld2/KDhWL7M4SnQLq80DxRmtiUbTspSjM2XjcfO\n9p5ydVvF7p605gS60LiHIg3Yu0belf0dDysKTIvTzVUZEr2uySWmSHHA4p/g\nQnLunj1vNkZghhaV/G+pw6TueE6/vUJipKWexge5OMNWjQvKMBSVHAT0RqMw\n+W8WQ0BjpsCc+l0+kUGbwFGfUtRL/X54y8S8IUWm2Wjr8VmCotZ17W+bmp/A\nHIBnOyDD2f1kI8dz9vonquviJbOCAi0FxhSowy1TVON66828mlc4VA+br1ms\noI7+k5yBCLudiISUaz11QMgxM/FjcKGaJKAz9wRGY/t+E1LwlCAoINw/RlyX\n4eNMGQlRPJDNfOnBKYv5HzAqfQsR8qX7R+okQqVoSw8G+MiiSjT/4V4FGLgW\nAl4IzLHmtc26QjumQf2I4ywyhuHD9o5ocV54o2fY0HztYIoeiRv/VND/Bu8m\n0tKs\r\n=Jkll\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/commonjs/index.js","gitHead":"7aa0dd0879e184c21117288dbfbb2693095f0692","scripts":{"lint":"eslint  src/**/*.ts src/*.ts","test":"mocha -r ts-node/register tests/*.ts","build":"npm run clean && npm run build-commonjs && npm run build-amd","clean":"rm -rf dist","prepare":"npm run build && npm run lint && npm test","lint-fix":"eslint --fix  src/**/*.ts src/*.ts","build-amd":"tsc --module amd --outDir ./dist/amd","build-commonjs":"tsc"},"typings":"dist/index.d.ts","_npmUser":{"name":"obivarg","email":"christian.werner@5minds.de"},"deprecated":"This package is no longer maintained. Consider upgrading your engine to v13, which no longer uses this package.","repository":{"url":"git+https://github.com/atlas-engine/ErrorProvider.git","type":"git"},"_npmVersion":"6.13.1","description":"Contains a set of technical errors that our protocal adapters can handle.","directories":{},"_nodeVersion":"12.13.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^6.2.2","eslint":"^6.6.0","should":"^13.2.3","ts-node":"^8.5.4","typescript":"^3.7.2","@types/node":"^12.12.7","@types/mocha":"^5.2.7","@atlas-engine/eslint-config":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/error_provider_1.0.0_1576143976337_0.29930648728434517","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@atlas-engine/error_provider","version":"1.0.1","author":{"name":"5Minds IT-Solutions GmbH & Co. KG"},"license":"MIT","_id":"@atlas-engine/error_provider@1.0.1","maintainers":[{"name":"alexanderkasten","email":"alexander.kasten@5minds.de"},{"name":"moellenbeck","email":"martin.moellenbeck@5minds.de"},{"name":"obivarg","email":"christian.werner@5minds.de"},{"name":"rrrene","email":"rf@bamaru.de"}],"homepage":"https://github.com/atlas-engine/ErrorProvider#readme","bugs":{"url":"https://github.com/atlas-engine/ErrorProvider/issues"},"dist":{"shasum":"f4d2abaf295fba6e2f6b216a319b15092902d964","tarball":"https://registry.npmjs.org/@atlas-engine/error_provider/-/error_provider-1.0.1.tgz","fileCount":309,"integrity":"sha512-A7NZglqYs+9rsrUM5uoYTcM/zR5CyArN4PBXDLLxh4MNalENx0R2GGFN+XEEALO/ns0IVgA5aHiuj2/Ew5nNqg==","signatures":[{"sig":"MEUCIH2YZL1dPr7otqhtX/iuX05M4UhzK2yJOoV/NsNiHilAAiEAgeyCYq0GqptFdJ/WmUf777w7bbe6/A/aFADAB91wsY4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":166354,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd8gyWCRA9TVsSAnZWagAAusAQAJ+UIIt2p3ZeFuSNVUJi\n46MLJZm8Uy7SXOhaFkL3nEX2jZc9O5pmkfpoB51QW21gDxtRONsRw4pd5j8M\nX1LtBDEng7eSnkyGq9yEsPo5XVYKFkhz00c0851CfTZmCpp5QwW7/IbAEp5q\nj03O/5rvqG02atYjFeF3bPrO/4khisuBjT6FDFnRAp2kap5vA0KoOFeCrAWn\nK2zW63uTdZNduA4FN43DCUwEV901bUvJxtsLUZNQXzEUBBfwShYa9hAgMWeb\n3XpTaZLNWjeipbcsgziulsp4Q2EN+G/FdzvObfehrIQMFMEfDA8ZDfMyjECg\n5H/V2usOQsZLE5bNiInPcGNapCuqGbVp8OFy4GAINgMABQT+INKcXVh7qly+\nwmtPXYrH40JOBwiinBywj64tNnFAE8JVthRdG50wBa2zktsP1T1s0tWUshtQ\nCvXO7XR4hsAtmkoqgvQvppkQVgJVCBSY4ziE4gIPezW11nfefifvkvC87UAh\n0VBPZEjeOiZiPvrZu4DpmYHhHKabih8n7OfKIiT7/F+OrcdHxPQabpbLVKlE\n8WBujE0oY6QYelQdwbd+W2P7DOC72C+ZSFbOTPXFezpuV0dbDfT1sY1HFeHb\n8vEGjcVwuAawjn01aJx1vjDsV3h185tgaFe4lBqXHVw5gKVjjJebemymC6Ft\nBBcE\r\n=aMXi\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/commonjs/index.js","gitHead":"d25834256614b56bda5e8fcb1d80c4eeaf583a77","scripts":{"lint":"eslint  src/**/*.ts src/*.ts","test":"mocha -r ts-node/register tests/*.ts","build":"npm run clean && npm run build-commonjs && npm run build-amd","clean":"rm -rf dist","prepare":"npm run build && npm run lint && npm test","lint-fix":"eslint --fix  src/**/*.ts src/*.ts","build-amd":"tsc --module amd --outDir ./dist/amd","build-commonjs":"tsc"},"typings":"dist/index.d.ts","_npmUser":{"name":"obivarg","email":"christian.werner@5minds.de"},"deprecated":"This package is no longer maintained. Consider upgrading your engine to v13, which no longer uses this package.","repository":{"url":"git+https://github.com/atlas-engine/ErrorProvider.git","type":"git"},"_npmVersion":"6.13.1","description":"Contains a set of technical errors that our protocal adapters can handle.","directories":{},"_nodeVersion":"12.13.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^6.2.2","eslint":"^6.6.0","should":"^13.2.3","ts-node":"^8.5.4","typescript":"^3.7.2","@types/node":"^12.12.7","@types/mocha":"^5.2.7","@atlas-engine/eslint-config":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/error_provider_1.0.1_1576144021682_0.5809317587318084","host":"s3://npm-registry-packages"}},"1.0.2-alpha.2":{"name":"@atlas-engine/error_provider","version":"1.0.2-alpha.2","author":{"name":"5Minds IT-Solutions GmbH & Co. KG"},"license":"MIT","_id":"@atlas-engine/error_provider@1.0.2-alpha.2","maintainers":[{"name":"alexanderkasten","email":"alexander.kasten@5minds.de"},{"name":"fvanbraak","email":"frank.vanbraak@5minds.de"},{"name":"moellenbeck","email":"martin.moellenbeck@5minds.de"},{"name":"obivarg","email":"christian.werner@5minds.de"},{"name":"process-engine-ci","email":"ci+npm@process-engine.io"},{"name":"rrrene","email":"rf@bamaru.de"},{"name":"steffen982","email":"Steffenknaup@hotmail.de"}],"homepage":"https://github.com/atlas-engine/ErrorProvider#readme","bugs":{"url":"https://github.com/atlas-engine/ErrorProvider/issues"},"dist":{"shasum":"3e0cd7e1e837044116dee32d47cd1ad0f90c92c8","tarball":"https://registry.npmjs.org/@atlas-engine/error_provider/-/error_provider-1.0.2-alpha.2.tgz","fileCount":309,"integrity":"sha512-FoOfhR/yVO3jmZ2qljyi4da//Rq7Ue08rg9Znxl1Wg7VjSEnViZMljhOxSD+PqTvcKeUdabCTqD1PovKzE+WHg==","signatures":[{"sig":"MEUCIQDpe3v+IHd4ObgpS80Yv06MmZccQvvNzt05Fn4PeieJNQIgacvAPfAUP2C/ghNm+klOe8jdQvFOM/gB6Urw1P9RExs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":167124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJec7lCCRA9TVsSAnZWagAAr1IP/0SkdrLP9CiacaUbd8Hf\nVJIjTk52lFSA81fwSq2cpQ3dSxg985JU5BYmarEHsmaawFlOoB2fD+KfaX7U\nzt3xzYz0G8SMLscWXIQgNbonv4QP6zU/XF2SBzaeWVMWUgZgD4i7wLSxATCe\n/eegBtfGaUa8rZuOrvl5l7q6bVc96umH+SPZd1WOUGPGudZhXvHbT5KNefzL\nUxqoKW4hhFQ5oqdKerBiTzX1nNfOQaSdcKIyatvuNOn73Pc0DFPh8ckBzCV0\nisYYMWPitPGheSqpoPC9rFYtjurBWwKQ7BRinJDIsoAoRZFrFfTKFPtB1BoJ\nwM29pm11ev+0+iV5UmlOcdKRGs1mnIx8VRZgBhjkZmtjOSeSVF+MEWWxNOkC\nwgmNCDsZMYkMRNNTmW8EGm2VYscCBqTf8yAfn/pp/H7OM8QjD09w/Lad7EFt\n6ovHDs0las/tqQ12iOZAfsRiPbibt+81SMM55TNxLdynLqVkY6Uf1rkJcwos\nwqGYaScP2+54EVHxljtonQhDUMaL6O6i2qziOy+W9jDh64/F6UEHoZEtwuuA\nBNRNUqXkbUwFovGXfisAn2CpgLwsHUMpn/mbHIfi5SoD+QiBPXhENVB0w0/Y\nwjQJiTLNxu9iB5rGIsF0syS9S4zvVrRY+/GnIcHUGAeaWSR15awVmF0GrzN4\nLuTj\r\n=vQQI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/commonjs/index.js","readme":"# ErrorProvider\n\nA technical error provider.\n\nThe errors are based on HTTP, but can be used anywhere else as well.\nThis is also the set of errors that the AtlasEngine uses internally.\n\n## Usage\n\nInstallation:\n\n```sh\nnpm install --save @atlas-engine/error_provider\n```\n\nUsage in NodeJS:\n\n```js\nconst ERRORNAME = require('@atlas-engine/error_provider').ERRORNAME;\n// or\nconst {ERRORNAME1, ERRORNAME2, ERRORNAME3} = require('@atlas-engine/error_provider');\n\nconst error = new ERRORNAME('fancy error message');\n```\n\nUsage in TypeScript:\n\n```ts\nimport * as Errors from '@atlas-engine/error_provider';\n// or\nimport {ERRORNAME1, ERRORNAME2, ERRORNAME3} from '@atlas-engine/error_provider';\n\nconst error = new Errors.ERRORNAME('fancy error message');\nconst anotherError = new ERRORNAME1('fancy error message');\n```\n\nWhere `ERRORNAME` is the error you want to import.\n\nAll errors from this package have the `isAtlasEngineError`-property, so that they can be easily recognized as such.\n\n## Serialization and Deserialization\n\nThere are two ways to serialize/deserialize the errors:\n\n### Direct serialization\n\n**Serialization:**\n\nEach error has a `serialize` function which creates a string representation of the error object.\n\nFor example:\n\n```ts\nimport {InternalServerError} from '@atlas-engine/error_provider';\n\nconst error = new InternalServerError('error!');\nconst serializedError = error.serialize();\n```\n\n**Deserialization:**\n\nThe `BaseError` class provides a static `deserialize` function, which accepts a string argument.\nIt tries to parse the string into a corresponding `AtlasEngine` error and returns the result.\n\nFor example:\n\n```ts\nimport {BaseError} from '@atlas-engine/error_provider';\n\nconst serializedError = '{\"errorClassName\":\"InternalServerError\",\"code\":500,\"message\":\"Process was terminated!\",\"callStack\":\"InternalServerError: Process was terminated!\\n    at <InsertStackHere>\"}';\nconst error = BaseError.deserialize();\n```\n\n**Note:**\nThe function will throw an error, if the given string does not properly represent an AtlasEngine error!\n\n### Serializer functions\n\nWe also provide a global `serialize` and `deserialize` function, which work independently from any internal errors.\n\nUnlike the serializer functions attached to `BaseError`, these functions are also able to handle base `Error` objects and even plain JSONs.\n\nExample:\n\n```ts\nimport {deserializeError, InternalServerError, serializeError} from '@atlas-engine/error_provider';\n\nconst internalServerError = new InternalServerError('error!');\nconst basicError = new Error('error!');\nconst untypedError = {message: 'Oh no, where did my type info go!?', code: 666};\n\n// Serializing errors\nconst serializedInternalServerError = serializeError(internalServerError);\nconst serializedBasicError = serializeError(basicError);\nconst serializedUntypedError = serializeError(untypedError);\n\n// Deserializing errors\n// The results should match the errors declared above\nconst deserializedInternalServerError = deserializeError(serializedInternalServerError);\nconst deserializedBasicError = deserializeError(serializedBasicError);\nconst deserializedUntypedError = deserializeError(serializedUntypedError);\n```\n\nUse these, if you cannot be entirely certain that an error will be from `@atlas-engine/error_provider`.\n\n### A note on @essential-projects/errors_ts\n\nSince this package is the continuation of `@essential-projects/errors_ts`, the `deserializeError` and `serializeError` functions are able to handle errors from that package as well.\n\n## Test\n\nYou can run the tests by simply calling:\n\n```bash\nnpm test\n```\n\n## Error Codes\n\nThe Errors are mostly based on [HTTP status codes](https://de.wikipedia.org/wiki/HTTP-Statuscode).\nEvery Error, except for the `BaseError` extends `BaseError`, which in turn extends `Error`.\n\n| Name                               | Code    |\n| ---                                | ---     |\n| BaseError                          |         |\n|                                    |         |\n| **Information Errors**             | **1xx** |\n| ContinueError                      | 100     |\n| SwitchingProtocolsError            | 101     |\n| ProcessingError                    | 102     |\n|                                    |         |\n| **Redirect Errors**                | **3xx** |\n| MultipleChoicesError               | 300     |\n| MovedError                         | 301     |\n| FoundError                         | 302     |\n| SeeOtherError                      | 303     |\n| NotModifiedError                   | 304     |\n| UseProxyError                      | 305     |\n| TemporaryRedirectError             | 307     |\n| PermanentRedirectError             | 308     |\n|                                    |         |\n| **Client Errors**                  | **4xx** |\n| BadRequestError                    | 400     |\n| UnauthorizedError                  | 401     |\n| PaymentRequiredError               | 402     |\n| ForbiddenError                     | 403     |\n| NotFoundError                      | 404     |\n| MethodNotAllowedError              | 405     |\n| NotAcceptableError                 | 406     |\n| ProxyAuthenticationRequiredError   | 407     |\n| RequestTimeoutError                | 408     |\n| ConflictError                      | 409     |\n| GoneError                          | 410     |\n| LengthRequiredError                | 411     |\n| PreconditionFailedError            | 412     |\n| RequestTooLargeError               | 413     |\n| URLTooLongError                    | 414     |\n| UnsupportedMediaTypeError          | 415     |\n| RequestedRangeNotSatisfiableError  | 416     |\n| ExpectationFailedError             | 417     |\n| ImATeapotError                     | 418     |\n| PolicyNotFulfilledError            | 420     |\n| MisdirectredRequestError           | 421     |\n| UnprocessableEntityError           | 422     |\n| LockedError                        | 423     |\n| FailedDependencyError              | 424     |\n| UpgradeRequiredError               | 426     |\n| PreconditionRequiredError          | 428     |\n| TooManyRequestsError               | 429     |\n| RequestHeaderTooLargeError         | 431     |\n| UnavaliableForLegalReasonsError    | 451     |\n|                                    |         |\n| **Server Errors**                  | **5xx** |\n| InternalServerError                | 500     |\n| NotImplementedError                | 501     |\n| BadGatewayError                    | 502     |\n| ServiceUnavaliableError            | 503     |\n| GatewayTimeoutError                | 504     |\n| VersionNotSupportedError           | 505     |\n| InsufficientStorageError           | 507     |\n| LoopDetectedError                  | 508     |\n| BandwithLimitExceededError         | 509     |\n| NetworkAuthenticationRequiredError | 511     |\n","gitHead":"f6d9b4253e2d62c705cb7c746a9717e7b84c8549","scripts":{"lint":"eslint  src/**/*.ts src/*.ts","test":"mocha -r ts-node/register tests/*.ts","build":"npm run clean && npm run build-commonjs && npm run build-amd","clean":"rm -rf dist","prepare":"npm run build && npm run lint && npm test","lint-fix":"eslint --fix  src/**/*.ts src/*.ts","build-amd":"tsc --module amd --outDir ./dist/amd","build-commonjs":"tsc"},"typings":"dist/index.d.ts","_npmUser":{"name":"process-engine-ci","email":"ci+npm@process-engine.io"},"deprecated":"Please upgrade to version 1.0.3","repository":{"url":"git+https://github.com/atlas-engine/ErrorProvider.git","type":"git"},"_npmVersion":"6.13.4","description":"Contains a set of technical errors that our protocal adapters can handle.","directories":{},"_nodeVersion":"12.16.1","dependencies":{},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"mocha":"^7.0.0","eslint":"^6.6.0","should":"^13.2.3","ts-node":"^8.5.4","typescript":"^3.7.2","@types/node":"^12.12.7","@types/mocha":"^5.2.7","@process-engine/ci_tools":"^3.0.0","@atlas-engine/eslint-config":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/error_provider_1.0.2-alpha.2_1584642370058_0.8255961335145208","host":"s3://npm-registry-packages"}},"1.0.2-beta.1":{"name":"@atlas-engine/error_provider","version":"1.0.2-beta.1","author":{"name":"5Minds IT-Solutions GmbH & Co. KG"},"license":"MIT","_id":"@atlas-engine/error_provider@1.0.2-beta.1","maintainers":[{"name":"alexanderkasten","email":"alexander.kasten@5minds.de"},{"name":"fvanbraak","email":"frank.vanbraak@5minds.de"},{"name":"moellenbeck","email":"martin.moellenbeck@5minds.de"},{"name":"obivarg","email":"christian.werner@5minds.de"},{"name":"process-engine-ci","email":"ci+npm@process-engine.io"},{"name":"rrrene","email":"rf@bamaru.de"},{"name":"steffen982","email":"Steffenknaup@hotmail.de"}],"homepage":"https://github.com/atlas-engine/ErrorProvider#readme","bugs":{"url":"https://github.com/atlas-engine/ErrorProvider/issues"},"dist":{"shasum":"1e9f7340d6be58a585ad9ba91740cdd58b2eaba3","tarball":"https://registry.npmjs.org/@atlas-engine/error_provider/-/error_provider-1.0.2-beta.1.tgz","fileCount":309,"integrity":"sha512-yE1SBSlE7fHKX5mPNhPJfyKc3zEYHza4WM1rGE+HYS2G0xtlcWkwSZeZTTwUQXWqZPmW8wtABl2mdiP3K5fKwA==","signatures":[{"sig":"MEQCIEldyde1CyX8jaQ5fIf0Ht9ySgQRdriimOsRupf3bUR8AiBObDZuFz6jIIuTkeFOU63T8C3MlLccV1MqcgKrHn4xZQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":167123,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJec7lVCRA9TVsSAnZWagAAYJcQAI6hRV+UO/wEBbiGQxnN\nRLS62dgDkhtVJfcc6C0fkmUbQgOTVyg5w8rQhvdI0ilviPs34o0D/vc7kNYY\nyK+dn5dXJO4qSUpAQ8+hnbHVwkHnIo3xffumPLQ3L317YSgzTZl/Zy8Nd+Uf\nSa4hkU5L5sAzUIP5vVB6vjNRk1rn7tNW7qNN18JNAXncFbgFbpXHCOy2D+dL\n3P15BRSJpBvB78CVqtk6X+6+KxRfBY8o2pxIyc88IBfuZGXqY/8O+JwvZpIY\nu12yI5J5fRFPsx+2TW1MJyWqd8i5oWr+nZwOD0gJOvfh10TWrnO9OM2m9Byr\nCS1oRPgQT59g2/zAMuf0VdPIZ28/e4FsFCJeaCbec1JLPaj23TCkVPM1L0gj\nkRiEHyUzmB3yYcfymbDcM8AAkz1EnIUEfzxx7Aq/11fnk8qEicC9V0RDjipf\nwyhFFeP+PbgGjBGxcrOFCI973o6gMbOnpCkIBenDc4bIEvLBwTxJ/6oPLiQH\na87NN/0tsMMLxOcpL4gch+Gw4cp85q5z/PAZA/6YJhDZ7nz6vmUG/QmTAVKm\nbEHXMY3+oQIfnnlbxhCQnXaYZ3E3kCaWj5JjxS6JIheTfCXZiKTIpDC9+mq/\nqWA7s8rU/CifXpM8VOyvRMLE3SH5SqmQlrR6PsIDfmwKPtpn/JP8EBVfg1tF\nc32u\r\n=1cHB\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/commonjs/index.js","readme":"# ErrorProvider\n\nA technical error provider.\n\nThe errors are based on HTTP, but can be used anywhere else as well.\nThis is also the set of errors that the AtlasEngine uses internally.\n\n## Usage\n\nInstallation:\n\n```sh\nnpm install --save @atlas-engine/error_provider\n```\n\nUsage in NodeJS:\n\n```js\nconst ERRORNAME = require('@atlas-engine/error_provider').ERRORNAME;\n// or\nconst {ERRORNAME1, ERRORNAME2, ERRORNAME3} = require('@atlas-engine/error_provider');\n\nconst error = new ERRORNAME('fancy error message');\n```\n\nUsage in TypeScript:\n\n```ts\nimport * as Errors from '@atlas-engine/error_provider';\n// or\nimport {ERRORNAME1, ERRORNAME2, ERRORNAME3} from '@atlas-engine/error_provider';\n\nconst error = new Errors.ERRORNAME('fancy error message');\nconst anotherError = new ERRORNAME1('fancy error message');\n```\n\nWhere `ERRORNAME` is the error you want to import.\n\nAll errors from this package have the `isAtlasEngineError`-property, so that they can be easily recognized as such.\n\n## Serialization and Deserialization\n\nThere are two ways to serialize/deserialize the errors:\n\n### Direct serialization\n\n**Serialization:**\n\nEach error has a `serialize` function which creates a string representation of the error object.\n\nFor example:\n\n```ts\nimport {InternalServerError} from '@atlas-engine/error_provider';\n\nconst error = new InternalServerError('error!');\nconst serializedError = error.serialize();\n```\n\n**Deserialization:**\n\nThe `BaseError` class provides a static `deserialize` function, which accepts a string argument.\nIt tries to parse the string into a corresponding `AtlasEngine` error and returns the result.\n\nFor example:\n\n```ts\nimport {BaseError} from '@atlas-engine/error_provider';\n\nconst serializedError = '{\"errorClassName\":\"InternalServerError\",\"code\":500,\"message\":\"Process was terminated!\",\"callStack\":\"InternalServerError: Process was terminated!\\n    at <InsertStackHere>\"}';\nconst error = BaseError.deserialize();\n```\n\n**Note:**\nThe function will throw an error, if the given string does not properly represent an AtlasEngine error!\n\n### Serializer functions\n\nWe also provide a global `serialize` and `deserialize` function, which work independently from any internal errors.\n\nUnlike the serializer functions attached to `BaseError`, these functions are also able to handle base `Error` objects and even plain JSONs.\n\nExample:\n\n```ts\nimport {deserializeError, InternalServerError, serializeError} from '@atlas-engine/error_provider';\n\nconst internalServerError = new InternalServerError('error!');\nconst basicError = new Error('error!');\nconst untypedError = {message: 'Oh no, where did my type info go!?', code: 666};\n\n// Serializing errors\nconst serializedInternalServerError = serializeError(internalServerError);\nconst serializedBasicError = serializeError(basicError);\nconst serializedUntypedError = serializeError(untypedError);\n\n// Deserializing errors\n// The results should match the errors declared above\nconst deserializedInternalServerError = deserializeError(serializedInternalServerError);\nconst deserializedBasicError = deserializeError(serializedBasicError);\nconst deserializedUntypedError = deserializeError(serializedUntypedError);\n```\n\nUse these, if you cannot be entirely certain that an error will be from `@atlas-engine/error_provider`.\n\n### A note on @essential-projects/errors_ts\n\nSince this package is the continuation of `@essential-projects/errors_ts`, the `deserializeError` and `serializeError` functions are able to handle errors from that package as well.\n\n## Test\n\nYou can run the tests by simply calling:\n\n```bash\nnpm test\n```\n\n## Error Codes\n\nThe Errors are mostly based on [HTTP status codes](https://de.wikipedia.org/wiki/HTTP-Statuscode).\nEvery Error, except for the `BaseError` extends `BaseError`, which in turn extends `Error`.\n\n| Name                               | Code    |\n| ---                                | ---     |\n| BaseError                          |         |\n|                                    |         |\n| **Information Errors**             | **1xx** |\n| ContinueError                      | 100     |\n| SwitchingProtocolsError            | 101     |\n| ProcessingError                    | 102     |\n|                                    |         |\n| **Redirect Errors**                | **3xx** |\n| MultipleChoicesError               | 300     |\n| MovedError                         | 301     |\n| FoundError                         | 302     |\n| SeeOtherError                      | 303     |\n| NotModifiedError                   | 304     |\n| UseProxyError                      | 305     |\n| TemporaryRedirectError             | 307     |\n| PermanentRedirectError             | 308     |\n|                                    |         |\n| **Client Errors**                  | **4xx** |\n| BadRequestError                    | 400     |\n| UnauthorizedError                  | 401     |\n| PaymentRequiredError               | 402     |\n| ForbiddenError                     | 403     |\n| NotFoundError                      | 404     |\n| MethodNotAllowedError              | 405     |\n| NotAcceptableError                 | 406     |\n| ProxyAuthenticationRequiredError   | 407     |\n| RequestTimeoutError                | 408     |\n| ConflictError                      | 409     |\n| GoneError                          | 410     |\n| LengthRequiredError                | 411     |\n| PreconditionFailedError            | 412     |\n| RequestTooLargeError               | 413     |\n| URLTooLongError                    | 414     |\n| UnsupportedMediaTypeError          | 415     |\n| RequestedRangeNotSatisfiableError  | 416     |\n| ExpectationFailedError             | 417     |\n| ImATeapotError                     | 418     |\n| PolicyNotFulfilledError            | 420     |\n| MisdirectredRequestError           | 421     |\n| UnprocessableEntityError           | 422     |\n| LockedError                        | 423     |\n| FailedDependencyError              | 424     |\n| UpgradeRequiredError               | 426     |\n| PreconditionRequiredError          | 428     |\n| TooManyRequestsError               | 429     |\n| RequestHeaderTooLargeError         | 431     |\n| UnavaliableForLegalReasonsError    | 451     |\n|                                    |         |\n| **Server Errors**                  | **5xx** |\n| InternalServerError                | 500     |\n| NotImplementedError                | 501     |\n| BadGatewayError                    | 502     |\n| ServiceUnavaliableError            | 503     |\n| GatewayTimeoutError                | 504     |\n| VersionNotSupportedError           | 505     |\n| InsufficientStorageError           | 507     |\n| LoopDetectedError                  | 508     |\n| BandwithLimitExceededError         | 509     |\n| NetworkAuthenticationRequiredError | 511     |\n","gitHead":"7678b917baaae4571dbfef9e2bbf34fdb4544f84","scripts":{"lint":"eslint  src/**/*.ts src/*.ts","test":"mocha -r ts-node/register tests/*.ts","build":"npm run clean && npm run build-commonjs && npm run build-amd","clean":"rm -rf dist","prepare":"npm run build && npm run lint && npm test","lint-fix":"eslint --fix  src/**/*.ts src/*.ts","build-amd":"tsc --module amd --outDir ./dist/amd","build-commonjs":"tsc"},"typings":"dist/index.d.ts","_npmUser":{"name":"process-engine-ci","email":"ci+npm@process-engine.io"},"deprecated":"Please upgrade to version 1.0.3","repository":{"url":"git+https://github.com/atlas-engine/ErrorProvider.git","type":"git"},"_npmVersion":"6.13.4","description":"Contains a set of technical errors that our protocal adapters can handle.","directories":{},"_nodeVersion":"12.16.1","dependencies":{},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"mocha":"^7.0.0","eslint":"^6.6.0","should":"^13.2.3","ts-node":"^8.5.4","typescript":"^3.7.2","@types/node":"^12.12.7","@types/mocha":"^5.2.7","@process-engine/ci_tools":"^3.0.0","@atlas-engine/eslint-config":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/error_provider_1.0.2-beta.1_1584642388745_0.2651593504333978","host":"s3://npm-registry-packages"}},"1.0.2-beta.2":{"name":"@atlas-engine/error_provider","version":"1.0.2-beta.2","author":{"name":"5Minds IT-Solutions GmbH & Co. KG"},"license":"MIT","_id":"@atlas-engine/error_provider@1.0.2-beta.2","maintainers":[{"name":"alexanderkasten","email":"alexander.kasten@5minds.de"},{"name":"fvanbraak","email":"frank.vanbraak@5minds.de"},{"name":"moellenbeck","email":"martin.moellenbeck@5minds.de"},{"name":"obivarg","email":"christian.werner@5minds.de"},{"name":"process-engine-ci","email":"ci+npm@process-engine.io"},{"name":"rrrene","email":"rf@bamaru.de"},{"name":"steffen982","email":"Steffenknaup@hotmail.de"}],"homepage":"https://github.com/atlas-engine/ErrorProvider#readme","bugs":{"url":"https://github.com/atlas-engine/ErrorProvider/issues"},"dist":{"shasum":"85cab5c3be629dbe287d737e11befc69e94652c6","tarball":"https://registry.npmjs.org/@atlas-engine/error_provider/-/error_provider-1.0.2-beta.2.tgz","fileCount":309,"integrity":"sha512-yjMOxX1YAQnDeW6mBD2CF+BGJ0O1meYtIxk65sr2jX+hoijD6p5kbFb6iZXkG8J8F9hJiPVE5s4F+Gp5xPNrrw==","signatures":[{"sig":"MEUCIQCNwZzom5bRsb+xtsSD3L114xz33dpa9l51HGUjZSvo8gIgMqiYhv/IiKnYt1gxGvG/hALTqUEWsR3/R+ytdsBPB4c=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":167123,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeebgMCRA9TVsSAnZWagAA/vkP/0PIkOuuyAqLnGaXl8ed\nHiJN3GayLIVC2KNuqbtzg9VZHPLCmUKXtCxU2zrOtyyTJw/gj45MWqtvUO/F\nLbQouRwu14xZ4a+xG5Rh/UQZEUBx8RTcIjqsIQLk66FBD0iG0bL+dGjEA1Tg\n6b4XwV6aVxS0P3JQN0ZrpOzNyK5dxw39S+TpouD26rDyOBvmLNGn6al0PsGg\ne3/6oZN9ryJxCq64sQHqHUMA8PRaSrRl+3CfVahYsujuFVvU2W8WlisrbR+y\nzhYzxAJ0LW6/JJs+hwhrWxW/7Gdp8wYt+SA5rci2r1Cm0GqrUN1o0XcyhWwk\nISlVCZHvWXUH+fhGE2HtLJrcGZSH8mQM6dLby7SdrdczDJcl7TZw30OHFO2g\n4D5+cGFJDfOZdBoLQ/IHv+2LdFmFwBdLGRDVEmWO9RBkk7qi18FIPnoLcWEs\nM0kyJ7ADE80/rjrFhu3k0eloFiew/U07DRd5LBfL4PiyJ8E+B+S3p6zK6+AY\nHzp20FBxssmFzHt2TUe+OvUYOmQ9LPbBxPZ5GvWNpyQE0I+v+pp1BKXsuPOG\nUs8TAN97UcovKC0ru2w+r45zj0nNEusSRtEp7siDM2XyLW3p4Zs9VPEa1GjU\nsXSqDAroh+0p/78HdWZxu4LfGHmzw0Uv6WupREtG1G2fJbfcdt6UhKZ6zHoO\nszF3\r\n=Ax5H\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/commonjs/index.js","readme":"# ErrorProvider\n\nA technical error provider.\n\nThe errors are based on HTTP, but can be used anywhere else as well.\nThis is also the set of errors that the AtlasEngine uses internally.\n\n## Usage\n\nInstallation:\n\n```sh\nnpm install --save @atlas-engine/error_provider\n```\n\nUsage in NodeJS:\n\n```js\nconst ERRORNAME = require('@atlas-engine/error_provider').ERRORNAME;\n// or\nconst {ERRORNAME1, ERRORNAME2, ERRORNAME3} = require('@atlas-engine/error_provider');\n\nconst error = new ERRORNAME('fancy error message');\n```\n\nUsage in TypeScript:\n\n```ts\nimport * as Errors from '@atlas-engine/error_provider';\n// or\nimport {ERRORNAME1, ERRORNAME2, ERRORNAME3} from '@atlas-engine/error_provider';\n\nconst error = new Errors.ERRORNAME('fancy error message');\nconst anotherError = new ERRORNAME1('fancy error message');\n```\n\nWhere `ERRORNAME` is the error you want to import.\n\nAll errors from this package have the `isAtlasEngineError`-property, so that they can be easily recognized as such.\n\n## Serialization and Deserialization\n\nThere are two ways to serialize/deserialize the errors:\n\n### Direct serialization\n\n**Serialization:**\n\nEach error has a `serialize` function which creates a string representation of the error object.\n\nFor example:\n\n```ts\nimport {InternalServerError} from '@atlas-engine/error_provider';\n\nconst error = new InternalServerError('error!');\nconst serializedError = error.serialize();\n```\n\n**Deserialization:**\n\nThe `BaseError` class provides a static `deserialize` function, which accepts a string argument.\nIt tries to parse the string into a corresponding `AtlasEngine` error and returns the result.\n\nFor example:\n\n```ts\nimport {BaseError} from '@atlas-engine/error_provider';\n\nconst serializedError = '{\"errorClassName\":\"InternalServerError\",\"code\":500,\"message\":\"Process was terminated!\",\"callStack\":\"InternalServerError: Process was terminated!\\n    at <InsertStackHere>\"}';\nconst error = BaseError.deserialize();\n```\n\n**Note:**\nThe function will throw an error, if the given string does not properly represent an AtlasEngine error!\n\n### Serializer functions\n\nWe also provide a global `serialize` and `deserialize` function, which work independently from any internal errors.\n\nUnlike the serializer functions attached to `BaseError`, these functions are also able to handle base `Error` objects and even plain JSONs.\n\nExample:\n\n```ts\nimport {deserializeError, InternalServerError, serializeError} from '@atlas-engine/error_provider';\n\nconst internalServerError = new InternalServerError('error!');\nconst basicError = new Error('error!');\nconst untypedError = {message: 'Oh no, where did my type info go!?', code: 666};\n\n// Serializing errors\nconst serializedInternalServerError = serializeError(internalServerError);\nconst serializedBasicError = serializeError(basicError);\nconst serializedUntypedError = serializeError(untypedError);\n\n// Deserializing errors\n// The results should match the errors declared above\nconst deserializedInternalServerError = deserializeError(serializedInternalServerError);\nconst deserializedBasicError = deserializeError(serializedBasicError);\nconst deserializedUntypedError = deserializeError(serializedUntypedError);\n```\n\nUse these, if you cannot be entirely certain that an error will be from `@atlas-engine/error_provider`.\n\n### A note on @essential-projects/errors_ts\n\nSince this package is the continuation of `@essential-projects/errors_ts`, the `deserializeError` and `serializeError` functions are able to handle errors from that package as well.\n\n## Test\n\nYou can run the tests by simply calling:\n\n```bash\nnpm test\n```\n\n## Error Codes\n\nThe Errors are mostly based on [HTTP status codes](https://de.wikipedia.org/wiki/HTTP-Statuscode).\nEvery Error, except for the `BaseError` extends `BaseError`, which in turn extends `Error`.\n\n| Name                               | Code    |\n| ---                                | ---     |\n| BaseError                          |         |\n|                                    |         |\n| **Information Errors**             | **1xx** |\n| ContinueError                      | 100     |\n| SwitchingProtocolsError            | 101     |\n| ProcessingError                    | 102     |\n|                                    |         |\n| **Redirect Errors**                | **3xx** |\n| MultipleChoicesError               | 300     |\n| MovedError                         | 301     |\n| FoundError                         | 302     |\n| SeeOtherError                      | 303     |\n| NotModifiedError                   | 304     |\n| UseProxyError                      | 305     |\n| TemporaryRedirectError             | 307     |\n| PermanentRedirectError             | 308     |\n|                                    |         |\n| **Client Errors**                  | **4xx** |\n| BadRequestError                    | 400     |\n| UnauthorizedError                  | 401     |\n| PaymentRequiredError               | 402     |\n| ForbiddenError                     | 403     |\n| NotFoundError                      | 404     |\n| MethodNotAllowedError              | 405     |\n| NotAcceptableError                 | 406     |\n| ProxyAuthenticationRequiredError   | 407     |\n| RequestTimeoutError                | 408     |\n| ConflictError                      | 409     |\n| GoneError                          | 410     |\n| LengthRequiredError                | 411     |\n| PreconditionFailedError            | 412     |\n| RequestTooLargeError               | 413     |\n| URLTooLongError                    | 414     |\n| UnsupportedMediaTypeError          | 415     |\n| RequestedRangeNotSatisfiableError  | 416     |\n| ExpectationFailedError             | 417     |\n| ImATeapotError                     | 418     |\n| PolicyNotFulfilledError            | 420     |\n| MisdirectredRequestError           | 421     |\n| UnprocessableEntityError           | 422     |\n| LockedError                        | 423     |\n| FailedDependencyError              | 424     |\n| UpgradeRequiredError               | 426     |\n| PreconditionRequiredError          | 428     |\n| TooManyRequestsError               | 429     |\n| RequestHeaderTooLargeError         | 431     |\n| UnavaliableForLegalReasonsError    | 451     |\n|                                    |         |\n| **Server Errors**                  | **5xx** |\n| InternalServerError                | 500     |\n| NotImplementedError                | 501     |\n| BadGatewayError                    | 502     |\n| ServiceUnavaliableError            | 503     |\n| GatewayTimeoutError                | 504     |\n| VersionNotSupportedError           | 505     |\n| InsufficientStorageError           | 507     |\n| LoopDetectedError                  | 508     |\n| BandwithLimitExceededError         | 509     |\n| NetworkAuthenticationRequiredError | 511     |\n","gitHead":"98bde72995c1791acac662c5d44a7e1763fbd849","scripts":{"lint":"eslint  src/**/*.ts src/*.ts","test":"mocha -r ts-node/register tests/*.ts","build":"npm run clean && npm run build-commonjs && npm run build-amd","clean":"rm -rf dist","prepare":"npm run build && npm run lint && npm test","lint-fix":"eslint --fix  src/**/*.ts src/*.ts","build-amd":"tsc --module amd --outDir ./dist/amd","build-commonjs":"tsc"},"typings":"dist/index.d.ts","_npmUser":{"name":"process-engine-ci","email":"ci+npm@process-engine.io"},"deprecated":"Please upgrade to version 1.0.3","repository":{"url":"git+https://github.com/atlas-engine/ErrorProvider.git","type":"git"},"_npmVersion":"6.13.4","description":"Contains a set of technical errors that our protocal adapters can handle.","directories":{},"_nodeVersion":"12.16.1","dependencies":{},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"mocha":"^7.0.0","eslint":"^6.6.0","should":"^13.2.3","ts-node":"^8.5.4","typescript":"^3.7.2","@types/node":"^12.12.7","@types/mocha":"^5.2.7","@process-engine/ci_tools":"^3.0.0","@atlas-engine/eslint-config":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/error_provider_1.0.2-beta.2_1585035276414_0.7764078813905233","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@atlas-engine/error_provider","version":"1.0.2","author":{"name":"5Minds IT-Solutions GmbH & Co. KG"},"license":"MIT","_id":"@atlas-engine/error_provider@1.0.2","maintainers":[{"name":"alexanderkasten","email":"alexander.kasten@5minds.de"},{"name":"fvanbraak","email":"frank.vanbraak@5minds.de"},{"name":"moellenbeck","email":"martin.moellenbeck@5minds.de"},{"name":"obivarg","email":"christian.werner@5minds.de"},{"name":"process-engine-ci","email":"ci+npm@process-engine.io"},{"name":"rrrene","email":"rf@bamaru.de"},{"name":"steffen982","email":"Steffenknaup@hotmail.de"}],"homepage":"https://github.com/atlas-engine/ErrorProvider#readme","bugs":{"url":"https://github.com/atlas-engine/ErrorProvider/issues"},"dist":{"shasum":"e24f29296316d964b7b77ae5a02824464b15f55a","tarball":"https://registry.npmjs.org/@atlas-engine/error_provider/-/error_provider-1.0.2.tgz","fileCount":309,"integrity":"sha512-QsWvSSSWyz4ckngBPk2/swByN5AAM9d5lic5YEhDbr/hTHP2xm3xK8vTxV6PhmXGoWH+1uoMJFXCzwzYt15zUg==","signatures":[{"sig":"MEUCIQDZpP1hOhRhIu1h1DkLJ4oZ4dwo6cbWmVtOy6k5BbZM3QIgcOSRVU3Kbc3fluQeD5QxJ9aqNoDzRjFZX4882HV9wVc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":167116,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeebgSCRA9TVsSAnZWagAAggUP/jWUg8vfMex+kIhbl07m\n+LjnFokI7GolZQK4lpyWcAwniVAxdFR7It6MspcxjkEEaRtVnJb4LbBhf+Wp\nXT8s6l8c3jVpwW5kCBxcCoI4O7VIuxn+VaOK1X+3AyNnJDhzc67JvCGrDalA\nqhbf7OJIdIqlN3MFnc13qK2zXP7HdmD7yKzVRXFNqk5DQ9zNwdGJ5WfaN50y\n5O6FCmOKRrxwOU8QfatdinnirhduabAXWJk7NZEMECf3mjXKXA5CA16TCxDu\nzgW9hVg8IjlAEIsOwcG/UBYjaw5/nfqBx2IJf63GmOynLvTwgr1erLIXutMg\nnidg8E25h3bQwP+uoxsQEv11kqu1Sqi8mdCbPJIiq1NkPcYAdjHmW83gdr27\nJR/Ee+S1qVKYSVcjaK235I99E2RbaWhLPARXkK7fwQSw+B9kTbDRXowwKjcY\nq5knU1/8Io+FGFotRXRxBw0VRvc7pRG5LMfmMKhEufcnqj4cXgvyAY3k45WE\nFFToydhipzyHMdlaqgeCmbclBGgh0owGVqZfFKCF5AAZ1MR5gKduhoDl09dX\nXaYLvqhAaz0qrPW0hN3/iz8w7FSbmmuCyE0at/mYdt5PquSAyumDRBSFzjTv\nwSdwQyMHge3klUhICJhggI272QB17Z3+coRFAGGvrguX/TacIwAyQoIT70DV\nykou\r\n=wYob\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/commonjs/index.js","gitHead":"0d75908924567b1dfec0038a23abfa286685c0d3","scripts":{"lint":"eslint  src/**/*.ts src/*.ts","test":"mocha -r ts-node/register tests/*.ts","build":"npm run clean && npm run build-commonjs && npm run build-amd","clean":"rm -rf dist","prepare":"npm run build && npm run lint && npm test","lint-fix":"eslint --fix  src/**/*.ts src/*.ts","build-amd":"tsc --module amd --outDir ./dist/amd","build-commonjs":"tsc"},"typings":"dist/index.d.ts","_npmUser":{"name":"process-engine-ci","email":"ci+npm@process-engine.io"},"deprecated":"This package is no longer maintained. Consider upgrading your engine to v13, which no longer uses this package.","repository":{"url":"git+https://github.com/atlas-engine/ErrorProvider.git","type":"git"},"_npmVersion":"6.13.4","description":"Contains a set of technical errors that our protocal adapters can handle.","directories":{},"_nodeVersion":"12.16.1","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^7.0.0","eslint":"^6.6.0","should":"^13.2.3","ts-node":"^8.5.4","typescript":"^3.7.2","@types/node":"^12.12.7","@types/mocha":"^5.2.7","@process-engine/ci_tools":"^3.0.0","@atlas-engine/eslint-config":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/error_provider_1.0.2_1585035282268_0.7977733157892459","host":"s3://npm-registry-packages"}},"1.0.2-alpha.3":{"name":"@atlas-engine/error_provider","version":"1.0.2-alpha.3","author":{"name":"5Minds IT-Solutions GmbH & Co. KG"},"license":"MIT","_id":"@atlas-engine/error_provider@1.0.2-alpha.3","maintainers":[{"name":"alexanderkasten","email":"alexander.kasten@5minds.de"},{"name":"fvanbraak","email":"frank.vanbraak@5minds.de"},{"name":"moellenbeck","email":"martin.moellenbeck@5minds.de"},{"name":"obivarg","email":"christian.werner@5minds.de"},{"name":"process-engine-ci","email":"ci+npm@process-engine.io"},{"name":"rrrene","email":"rf@bamaru.de"},{"name":"steffen982","email":"Steffenknaup@hotmail.de"}],"homepage":"https://github.com/atlas-engine/ErrorProvider#readme","bugs":{"url":"https://github.com/atlas-engine/ErrorProvider/issues"},"dist":{"shasum":"3875958e601b2001b6f08cf044aba2a2c905e2d5","tarball":"https://registry.npmjs.org/@atlas-engine/error_provider/-/error_provider-1.0.2-alpha.3.tgz","fileCount":309,"integrity":"sha512-fwioz2cwvchD0ZcaZiHbleSV5MieQ5XGCZ2i7rdqlUZic9nRfF87xCfvZT7hhseF10ZbJ0O7k8Tc4nyc/jS5qg==","signatures":[{"sig":"MEUCIQCEn4skLQTAvkQcifraq7UPoO/A+sjHUd1ZJMlJLFRmfQIgCsy3o6eIUuS71Wlhg9Ziyh7VOSOOEHplXCae4r36d1A=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":167124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeebgXCRA9TVsSAnZWagAAeQQP/1Rtwu0CyB/KpcRg+Wz1\nXt/YGFUscF65YvViLYd7MPAGLE1BewicXH8UL9SDFU2VIV5EAQ8Jm/7NXdln\nbWiU29ZY+PfjgFq0igBIO5+X7a9TQXfkNwgcpevi3p07QVC5Geq0Qw0MxsH6\n4/J8rmDh1J2UtoOpJ260xP52oLKGmr0ljvG5wJ1Xrbrn2loQXqgXUqV7eVPW\nYTlWFa5RBD2ZPxhSs2UeXfcnvAESYixiam1C1o5Pyh8JGHoRzNvnxfqv6mKh\n8Zpye/9MEJwvQjPQ69uAzSAvKDIQFVv637LRtodNAcoTjGUPP+pdRXZYJCWY\n3oWPo41UJ8TSUVvUnzLb5jDWzmEzk7N+cY/toaiN5SnSAg/Gmi2rplshMuQJ\nF27eKK1WJSCTlc+VQ2O7o5BCZup07ohcehh95+LzRdL7LLAIYY8NWuRjYG+R\n35HZdl//m/EsStI0qzaDsefQNf3TDHh3cxRaWpy6eFK1JRsJScbPGOCnFDCn\nx0K3fwPYdnE/2OYOHpiLLe8Y08YQN9ln3mAThZrFYsX/OdDTO/hlmKb8R4kO\n3zueVIc149OJ3KjeUVx34p2A3YCRQfqFOz0Nlt8li6/lp9WNt/MaFVcLPrX6\nWgoWNwOEOrRTsrKgnVb/12k7TbMhCCGXFH1BL1f6llT63idLN2qoYIEXN0zc\nH4HV\r\n=2GGA\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/commonjs/index.js","readme":"# ErrorProvider\n\nA technical error provider.\n\nThe errors are based on HTTP, but can be used anywhere else as well.\nThis is also the set of errors that the AtlasEngine uses internally.\n\n## Usage\n\nInstallation:\n\n```sh\nnpm install --save @atlas-engine/error_provider\n```\n\nUsage in NodeJS:\n\n```js\nconst ERRORNAME = require('@atlas-engine/error_provider').ERRORNAME;\n// or\nconst {ERRORNAME1, ERRORNAME2, ERRORNAME3} = require('@atlas-engine/error_provider');\n\nconst error = new ERRORNAME('fancy error message');\n```\n\nUsage in TypeScript:\n\n```ts\nimport * as Errors from '@atlas-engine/error_provider';\n// or\nimport {ERRORNAME1, ERRORNAME2, ERRORNAME3} from '@atlas-engine/error_provider';\n\nconst error = new Errors.ERRORNAME('fancy error message');\nconst anotherError = new ERRORNAME1('fancy error message');\n```\n\nWhere `ERRORNAME` is the error you want to import.\n\nAll errors from this package have the `isAtlasEngineError`-property, so that they can be easily recognized as such.\n\n## Serialization and Deserialization\n\nThere are two ways to serialize/deserialize the errors:\n\n### Direct serialization\n\n**Serialization:**\n\nEach error has a `serialize` function which creates a string representation of the error object.\n\nFor example:\n\n```ts\nimport {InternalServerError} from '@atlas-engine/error_provider';\n\nconst error = new InternalServerError('error!');\nconst serializedError = error.serialize();\n```\n\n**Deserialization:**\n\nThe `BaseError` class provides a static `deserialize` function, which accepts a string argument.\nIt tries to parse the string into a corresponding `AtlasEngine` error and returns the result.\n\nFor example:\n\n```ts\nimport {BaseError} from '@atlas-engine/error_provider';\n\nconst serializedError = '{\"errorClassName\":\"InternalServerError\",\"code\":500,\"message\":\"Process was terminated!\",\"callStack\":\"InternalServerError: Process was terminated!\\n    at <InsertStackHere>\"}';\nconst error = BaseError.deserialize();\n```\n\n**Note:**\nThe function will throw an error, if the given string does not properly represent an AtlasEngine error!\n\n### Serializer functions\n\nWe also provide a global `serialize` and `deserialize` function, which work independently from any internal errors.\n\nUnlike the serializer functions attached to `BaseError`, these functions are also able to handle base `Error` objects and even plain JSONs.\n\nExample:\n\n```ts\nimport {deserializeError, InternalServerError, serializeError} from '@atlas-engine/error_provider';\n\nconst internalServerError = new InternalServerError('error!');\nconst basicError = new Error('error!');\nconst untypedError = {message: 'Oh no, where did my type info go!?', code: 666};\n\n// Serializing errors\nconst serializedInternalServerError = serializeError(internalServerError);\nconst serializedBasicError = serializeError(basicError);\nconst serializedUntypedError = serializeError(untypedError);\n\n// Deserializing errors\n// The results should match the errors declared above\nconst deserializedInternalServerError = deserializeError(serializedInternalServerError);\nconst deserializedBasicError = deserializeError(serializedBasicError);\nconst deserializedUntypedError = deserializeError(serializedUntypedError);\n```\n\nUse these, if you cannot be entirely certain that an error will be from `@atlas-engine/error_provider`.\n\n### A note on @essential-projects/errors_ts\n\nSince this package is the continuation of `@essential-projects/errors_ts`, the `deserializeError` and `serializeError` functions are able to handle errors from that package as well.\n\n## Test\n\nYou can run the tests by simply calling:\n\n```bash\nnpm test\n```\n\n## Error Codes\n\nThe Errors are mostly based on [HTTP status codes](https://de.wikipedia.org/wiki/HTTP-Statuscode).\nEvery Error, except for the `BaseError` extends `BaseError`, which in turn extends `Error`.\n\n| Name                               | Code    |\n| ---                                | ---     |\n| BaseError                          |         |\n|                                    |         |\n| **Information Errors**             | **1xx** |\n| ContinueError                      | 100     |\n| SwitchingProtocolsError            | 101     |\n| ProcessingError                    | 102     |\n|                                    |         |\n| **Redirect Errors**                | **3xx** |\n| MultipleChoicesError               | 300     |\n| MovedError                         | 301     |\n| FoundError                         | 302     |\n| SeeOtherError                      | 303     |\n| NotModifiedError                   | 304     |\n| UseProxyError                      | 305     |\n| TemporaryRedirectError             | 307     |\n| PermanentRedirectError             | 308     |\n|                                    |         |\n| **Client Errors**                  | **4xx** |\n| BadRequestError                    | 400     |\n| UnauthorizedError                  | 401     |\n| PaymentRequiredError               | 402     |\n| ForbiddenError                     | 403     |\n| NotFoundError                      | 404     |\n| MethodNotAllowedError              | 405     |\n| NotAcceptableError                 | 406     |\n| ProxyAuthenticationRequiredError   | 407     |\n| RequestTimeoutError                | 408     |\n| ConflictError                      | 409     |\n| GoneError                          | 410     |\n| LengthRequiredError                | 411     |\n| PreconditionFailedError            | 412     |\n| RequestTooLargeError               | 413     |\n| URLTooLongError                    | 414     |\n| UnsupportedMediaTypeError          | 415     |\n| RequestedRangeNotSatisfiableError  | 416     |\n| ExpectationFailedError             | 417     |\n| ImATeapotError                     | 418     |\n| PolicyNotFulfilledError            | 420     |\n| MisdirectredRequestError           | 421     |\n| UnprocessableEntityError           | 422     |\n| LockedError                        | 423     |\n| FailedDependencyError              | 424     |\n| UpgradeRequiredError               | 426     |\n| PreconditionRequiredError          | 428     |\n| TooManyRequestsError               | 429     |\n| RequestHeaderTooLargeError         | 431     |\n| UnavaliableForLegalReasonsError    | 451     |\n|                                    |         |\n| **Server Errors**                  | **5xx** |\n| InternalServerError                | 500     |\n| NotImplementedError                | 501     |\n| BadGatewayError                    | 502     |\n| ServiceUnavaliableError            | 503     |\n| GatewayTimeoutError                | 504     |\n| VersionNotSupportedError           | 505     |\n| InsufficientStorageError           | 507     |\n| LoopDetectedError                  | 508     |\n| BandwithLimitExceededError         | 509     |\n| NetworkAuthenticationRequiredError | 511     |\n","gitHead":"43de06b2d60253c4f304725d65c0f70898f1e207","scripts":{"lint":"eslint  src/**/*.ts src/*.ts","test":"mocha -r ts-node/register tests/*.ts","build":"npm run clean && npm run build-commonjs && npm run build-amd","clean":"rm -rf dist","prepare":"npm run build && npm run lint && npm test","lint-fix":"eslint --fix  src/**/*.ts src/*.ts","build-amd":"tsc --module amd --outDir ./dist/amd","build-commonjs":"tsc"},"typings":"dist/index.d.ts","_npmUser":{"name":"process-engine-ci","email":"ci+npm@process-engine.io"},"deprecated":"Please upgrade to version 1.0.3","repository":{"url":"git+https://github.com/atlas-engine/ErrorProvider.git","type":"git"},"_npmVersion":"6.13.4","description":"Contains a set of technical errors that our protocal adapters can handle.","directories":{},"_nodeVersion":"12.16.1","dependencies":{},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"mocha":"^7.0.0","eslint":"^6.6.0","should":"^13.2.3","ts-node":"^8.5.4","typescript":"^3.7.2","@types/node":"^12.12.7","@types/mocha":"^5.2.7","@process-engine/ci_tools":"^3.0.0","@atlas-engine/eslint-config":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/error_provider_1.0.2-alpha.3_1585035286887_0.40735917227831875","host":"s3://npm-registry-packages"}},"1.0.2-feature-b61ecc-k98occ9r":{"name":"@atlas-engine/error_provider","version":"1.0.2-feature-b61ecc-k98occ9r","author":{"name":"5Minds IT-Solutions GmbH & Co. KG"},"license":"MIT","_id":"@atlas-engine/error_provider@1.0.2-feature-b61ecc-k98occ9r","maintainers":[{"name":"alexanderkasten","email":"alexander.kasten@5minds.de"},{"name":"fvanbraak","email":"frank.vanbraak@5minds.de"},{"name":"moellenbeck","email":"martin.moellenbeck@5minds.de"},{"name":"obivarg","email":"christian.werner@5minds.de"},{"name":"process-engine-ci","email":"ci+npm@process-engine.io"},{"name":"rrrene","email":"rf@bamaru.de"},{"name":"steffen982","email":"Steffenknaup@hotmail.de"}],"homepage":"https://github.com/atlas-engine/ErrorProvider#readme","bugs":{"url":"https://github.com/atlas-engine/ErrorProvider/issues"},"dist":{"shasum":"7ba53317d76cc05c0e7ac08539450025328b4ab3","tarball":"https://registry.npmjs.org/@atlas-engine/error_provider/-/error_provider-1.0.2-feature-b61ecc-k98occ9r.tgz","fileCount":309,"integrity":"sha512-WDKIFBtDvEfAltbZo09DhwfxbOH7zdoz9nDcYOakqw/g63ep6haKBKhAD3gzHbNlnDikxbH5aXb3mYIhnPkJ+g==","signatures":[{"sig":"MEQCIDVy04di9yLtUV1GPYq5RipdAMna1lYWyxWYkp+JHjzrAiB1jHZxvflQfwkSBrpMQptReVGow17fOS7rdQkSCT8BuA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":167131,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJencktCRA9TVsSAnZWagAAZPsP/0fEizX4zZEgzzKgv/tz\nOVsr7O/4wArcPbO8o5Ug8J/FsmbGVVJaGja/3ltyU8gFwHTcPLhGDNhOdyhp\n4uZieJ+BZAvu3eFepA09v5Lu1qkANlXPS4yBdroZH6OgLK3zew1R7+zatZ38\npFw3RY95smdhwW3OtG02NZs7Go4/kLHuEuAjwNFgvu5JKocBf+nOT0zBbptV\noOi5F5Ns5ADWZ+2XucFO3AU9ETS75ebO6UtuXCxZyjK0nczsPRKQcxaItdva\nv/DAC5R4Z6YPOY7h25P2L1gLc5RFPEZ1P+BQFlyptT+6Sk5hVbNFbLWvIcL7\nu/XEliiLgECq2sVwvvKsrFJAhIRlaAVQe26Bwp34FMSmmanSvqopUXUCj7Bo\nNqrPTkqpTh8qFd1Jpo7YUAemWZL7mtDqKy+biDJ+snD0lt165wGxnuD2CiZK\n871LE5di/DEJemqzpDfBpYOtY6eWeTPV0cSWunhNYhzPGSf1rMgEKyYoB0Hi\nB7NIuCuO8pNeY+Y97LuhIZL/UImXPYNMcB2FjRwlg7u8+40O0scuM/+eKpG3\n19jMfVawMWYhHjLJjLBOtbPVmN+xj3BwWS+r5WpxDX4hauyR4fP3bGBC3mnR\nPqyqu272zEg3DX37nYxBPIqGCkg2MlXlhtRFFj4Rk3/4wEJsR7LRSEE1H9ez\nAruK\r\n=AAVB\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/commonjs/index.js","readme":"# ErrorProvider\n\nA technical error provider.\n\nThe errors are based on HTTP, but can be used anywhere else as well.\nThis is also the set of errors that the AtlasEngine uses internally.\n\n## Usage\n\nInstallation:\n\n```sh\nnpm install --save @atlas-engine/error_provider\n```\n\nUsage in NodeJS:\n\n```js\nconst ERRORNAME = require('@atlas-engine/error_provider').ERRORNAME;\n// or\nconst {ERRORNAME1, ERRORNAME2, ERRORNAME3} = require('@atlas-engine/error_provider');\n\nconst error = new ERRORNAME('fancy error message');\n```\n\nUsage in TypeScript:\n\n```ts\nimport * as Errors from '@atlas-engine/error_provider';\n// or\nimport {ERRORNAME1, ERRORNAME2, ERRORNAME3} from '@atlas-engine/error_provider';\n\nconst error = new Errors.ERRORNAME('fancy error message');\nconst anotherError = new ERRORNAME1('fancy error message');\n```\n\nWhere `ERRORNAME` is the error you want to import.\n\nAll errors from this package have the `isAtlasEngineError`-property, so that they can be easily recognized as such.\n\n## Serialization and Deserialization\n\nThere are two ways to serialize/deserialize the errors:\n\n### Direct serialization\n\n**Serialization:**\n\nEach error has a `serialize` function which creates a string representation of the error object.\n\nFor example:\n\n```ts\nimport {InternalServerError} from '@atlas-engine/error_provider';\n\nconst error = new InternalServerError('error!');\nconst serializedError = error.serialize();\n```\n\n**Deserialization:**\n\nThe `BaseError` class provides a static `deserialize` function, which accepts a string argument.\nIt tries to parse the string into a corresponding `AtlasEngine` error and returns the result.\n\nFor example:\n\n```ts\nimport {BaseError} from '@atlas-engine/error_provider';\n\nconst serializedError = '{\"errorClassName\":\"InternalServerError\",\"code\":500,\"message\":\"Process was terminated!\",\"callStack\":\"InternalServerError: Process was terminated!\\n    at <InsertStackHere>\"}';\nconst error = BaseError.deserialize();\n```\n\n**Note:**\nThe function will throw an error, if the given string does not properly represent an AtlasEngine error!\n\n### Serializer functions\n\nWe also provide a global `serialize` and `deserialize` function, which work independently from any internal errors.\n\nUnlike the serializer functions attached to `BaseError`, these functions are also able to handle base `Error` objects and even plain JSONs.\n\nExample:\n\n```ts\nimport {deserializeError, InternalServerError, serializeError} from '@atlas-engine/error_provider';\n\nconst internalServerError = new InternalServerError('error!');\nconst basicError = new Error('error!');\nconst untypedError = {message: 'Oh no, where did my type info go!?', code: 666};\n\n// Serializing errors\nconst serializedInternalServerError = serializeError(internalServerError);\nconst serializedBasicError = serializeError(basicError);\nconst serializedUntypedError = serializeError(untypedError);\n\n// Deserializing errors\n// The results should match the errors declared above\nconst deserializedInternalServerError = deserializeError(serializedInternalServerError);\nconst deserializedBasicError = deserializeError(serializedBasicError);\nconst deserializedUntypedError = deserializeError(serializedUntypedError);\n```\n\nUse these, if you cannot be entirely certain that an error will be from `@atlas-engine/error_provider`.\n\n### A note on @essential-projects/errors_ts\n\nSince this package is the continuation of `@essential-projects/errors_ts`, the `deserializeError` and `serializeError` functions are able to handle errors from that package as well.\n\n## Test\n\nYou can run the tests by simply calling:\n\n```bash\nnpm test\n```\n\n## Error Codes\n\nThe Errors are mostly based on [HTTP status codes](https://de.wikipedia.org/wiki/HTTP-Statuscode).\nEvery Error, except for the `BaseError` extends `BaseError`, which in turn extends `Error`.\n\n| Name                               | Code    |\n| ---                                | ---     |\n| BaseError                          |         |\n|                                    |         |\n| **Information Errors**             | **1xx** |\n| ContinueError                      | 100     |\n| SwitchingProtocolsError            | 101     |\n| ProcessingError                    | 102     |\n|                                    |         |\n| **Redirect Errors**                | **3xx** |\n| MultipleChoicesError               | 300     |\n| MovedError                         | 301     |\n| FoundError                         | 302     |\n| SeeOtherError                      | 303     |\n| NotModifiedError                   | 304     |\n| UseProxyError                      | 305     |\n| TemporaryRedirectError             | 307     |\n| PermanentRedirectError             | 308     |\n|                                    |         |\n| **Client Errors**                  | **4xx** |\n| BadRequestError                    | 400     |\n| UnauthorizedError                  | 401     |\n| PaymentRequiredError               | 402     |\n| ForbiddenError                     | 403     |\n| NotFoundError                      | 404     |\n| MethodNotAllowedError              | 405     |\n| NotAcceptableError                 | 406     |\n| ProxyAuthenticationRequiredError   | 407     |\n| RequestTimeoutError                | 408     |\n| ConflictError                      | 409     |\n| GoneError                          | 410     |\n| LengthRequiredError                | 411     |\n| PreconditionFailedError            | 412     |\n| RequestTooLargeError               | 413     |\n| URLTooLongError                    | 414     |\n| UnsupportedMediaTypeError          | 415     |\n| RequestedRangeNotSatisfiableError  | 416     |\n| ExpectationFailedError             | 417     |\n| ImATeapotError                     | 418     |\n| PolicyNotFulfilledError            | 420     |\n| MisdirectredRequestError           | 421     |\n| UnprocessableEntityError           | 422     |\n| LockedError                        | 423     |\n| FailedDependencyError              | 424     |\n| UpgradeRequiredError               | 426     |\n| PreconditionRequiredError          | 428     |\n| TooManyRequestsError               | 429     |\n| RequestHeaderTooLargeError         | 431     |\n| UnavaliableForLegalReasonsError    | 451     |\n|                                    |         |\n| **Server Errors**                  | **5xx** |\n| InternalServerError                | 500     |\n| NotImplementedError                | 501     |\n| BadGatewayError                    | 502     |\n| ServiceUnavaliableError            | 503     |\n| GatewayTimeoutError                | 504     |\n| VersionNotSupportedError           | 505     |\n| InsufficientStorageError           | 507     |\n| LoopDetectedError                  | 508     |\n| BandwithLimitExceededError         | 509     |\n| NetworkAuthenticationRequiredError | 511     |\n","gitHead":"b61ecc97ab3dfbc8d2d6a2e9efd81815b4355b97","scripts":{"lint":"eslint  src/**/*.ts src/*.ts","test":"mocha -r ts-node/register tests/*.ts","build":"npm run clean && npm run build-commonjs && npm run build-amd","clean":"rm -rf dist","prepare":"npm run build && npm run lint && npm test","lint-fix":"eslint --fix  src/**/*.ts src/*.ts","build-amd":"tsc --module amd --outDir ./dist/amd","build-commonjs":"tsc"},"typings":"dist/index.d.ts","_npmUser":{"name":"process-engine-ci","email":"ci+npm@process-engine.io"},"deprecated":"Please upgrade to version 1.0.3","repository":{"url":"git+https://github.com/atlas-engine/ErrorProvider.git","type":"git"},"_npmVersion":"6.14.4","description":"Contains a set of technical errors that our protocal adapters can handle.","directories":{},"_nodeVersion":"12.16.2","dependencies":{},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"mocha":"7.1.1","eslint":"6.8.0","should":"13.2.3","ts-node":"8.8.2","typescript":"3.8.3","@types/node":"12.12.7","@types/mocha":"5.2.7","@process-engine/ci_tools":"3.0.0","@atlas-engine/eslint-config":"1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/error_provider_1.0.2-feature-b61ecc-k98occ9r_1587398956696_0.06793035200940234","host":"s3://npm-registry-packages"}},"1.0.2-feature-358031-k9dz63zt":{"name":"@atlas-engine/error_provider","version":"1.0.2-feature-358031-k9dz63zt","author":{"name":"5Minds IT-Solutions GmbH & Co. KG"},"license":"MIT","_id":"@atlas-engine/error_provider@1.0.2-feature-358031-k9dz63zt","maintainers":[{"name":"alexanderkasten","email":"alexander.kasten@5minds.de"},{"name":"fvanbraak","email":"frank.vanbraak@5minds.de"},{"name":"moellenbeck","email":"martin.moellenbeck@5minds.de"},{"name":"obivarg","email":"christian.werner@5minds.de"},{"name":"process-engine-ci","email":"ci+npm@process-engine.io"},{"name":"rrrene","email":"rf@bamaru.de"},{"name":"steffen982","email":"Steffenknaup@hotmail.de"}],"homepage":"https://github.com/atlas-engine/ErrorProvider#readme","bugs":{"url":"https://github.com/atlas-engine/ErrorProvider/issues"},"dist":{"shasum":"bb2ec935cfc20769a540ae1fe7dc89f1db32d15a","tarball":"https://registry.npmjs.org/@atlas-engine/error_provider/-/error_provider-1.0.2-feature-358031-k9dz63zt.tgz","fileCount":309,"integrity":"sha512-IOUtLr/8RRg7Yoy+Nf96S+5zeR0Gb02HjP8wzSNqwocLtBiwHpAbHQZ64XD5NSjqn318D5uu3fGqGmivId1CEQ==","signatures":[{"sig":"MEYCIQD+2hf9w7/mH2epI8Fg9s0lr53sQxt1nK1jW2pA2RNJKgIhAMbOrH/IkuREOZWhgyq7PfRbRgKaoJAOJORp2LFQ9WIi","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":167134,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeoq03CRA9TVsSAnZWagAAOtUP/ixkXZc7alg8sT7+pLEw\nXj1auIuJjIQyDhMaYNHfCkx5v2N2+EmAPTUgB0+wPgwEH/+nDorjCgfhoJj+\nFOVO+I2+JjKAxF7U6/okhMHvXl6aYkLAjNPGod1O4UDzuuzazuXed2ldWfpf\nkulA1kwef9i3T3/LsIvjpvZ5A9hDaad3cSIkHmr8sTftQxF6AdE9l2YfbFeU\noPvQl/6XCY+/187zL9sfmKRCyTaKgwYiO7fD6HWHgR5BRqbkPEaPq4IMFkjl\nxoObT+8JL+not7NVsrLfz3NkP3p3nKlNr6TwkVf5i9YsM+QRP2X02gA9nZ7q\nBIGahdRIItpU5x3f6Ck+gm6mgTV8hBjvwJ9NydUzrYEXdcrN79jEftLOM/3I\nZr/MgN6JOhPluLH7T/hmeAjdbaUeH5kjsurvvPw0bXc3iElWLnf5g2Ylro46\nfbG90rQ3BDfydQusKbcvsROxaE2A5W3GfPjMqJap6UHdruwAeQiHc12FMzGY\niHBagjzT5nVGZyEE/pLfN3AAtEVsOUYRqTWmDjDyRgSb2fNXMmZYU+hDWUqr\nTDQGHKcdoLXRNUzME7JlxWRNBQkelPUvBPU7VHnlJOwEwK47KXhwCUH57OZm\nraPlFLSoWPcZcz/d1iiXzgKlPWzI6EgRS/2SrZlY7XiZZizSHKKfJzpIR1oj\nnNeh\r\n=zY3j\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/commonjs/index.js","readme":"# ErrorProvider\n\nA technical error provider.\n\nThe errors are based on HTTP, but can be used anywhere else as well.\nThis is also the set of errors that the AtlasEngine uses internally.\n\n## Usage\n\nInstallation:\n\n```sh\nnpm install --save @atlas-engine/error_provider\n```\n\nUsage in NodeJS:\n\n```js\nconst ERRORNAME = require('@atlas-engine/error_provider').ERRORNAME;\n// or\nconst {ERRORNAME1, ERRORNAME2, ERRORNAME3} = require('@atlas-engine/error_provider');\n\nconst error = new ERRORNAME('fancy error message');\n```\n\nUsage in TypeScript:\n\n```ts\nimport * as Errors from '@atlas-engine/error_provider';\n// or\nimport {ERRORNAME1, ERRORNAME2, ERRORNAME3} from '@atlas-engine/error_provider';\n\nconst error = new Errors.ERRORNAME('fancy error message');\nconst anotherError = new ERRORNAME1('fancy error message');\n```\n\nWhere `ERRORNAME` is the error you want to import.\n\nAll errors from this package have the `isAtlasEngineError`-property, so that they can be easily recognized as such.\n\n## Serialization and Deserialization\n\nThere are two ways to serialize/deserialize the errors:\n\n### Direct serialization\n\n**Serialization:**\n\nEach error has a `serialize` function which creates a string representation of the error object.\n\nFor example:\n\n```ts\nimport {InternalServerError} from '@atlas-engine/error_provider';\n\nconst error = new InternalServerError('error!');\nconst serializedError = error.serialize();\n```\n\n**Deserialization:**\n\nThe `BaseError` class provides a static `deserialize` function, which accepts a string argument.\nIt tries to parse the string into a corresponding `AtlasEngine` error and returns the result.\n\nFor example:\n\n```ts\nimport {BaseError} from '@atlas-engine/error_provider';\n\nconst serializedError = '{\"errorClassName\":\"InternalServerError\",\"code\":500,\"message\":\"Process was terminated!\",\"callStack\":\"InternalServerError: Process was terminated!\\n    at <InsertStackHere>\"}';\nconst error = BaseError.deserialize();\n```\n\n**Note:**\nThe function will throw an error, if the given string does not properly represent an AtlasEngine error!\n\n### Serializer functions\n\nWe also provide a global `serialize` and `deserialize` function, which work independently from any internal errors.\n\nUnlike the serializer functions attached to `BaseError`, these functions are also able to handle base `Error` objects and even plain JSONs.\n\nExample:\n\n```ts\nimport {deserializeError, InternalServerError, serializeError} from '@atlas-engine/error_provider';\n\nconst internalServerError = new InternalServerError('error!');\nconst basicError = new Error('error!');\nconst untypedError = {message: 'Oh no, where did my type info go!?', code: 666};\n\n// Serializing errors\nconst serializedInternalServerError = serializeError(internalServerError);\nconst serializedBasicError = serializeError(basicError);\nconst serializedUntypedError = serializeError(untypedError);\n\n// Deserializing errors\n// The results should match the errors declared above\nconst deserializedInternalServerError = deserializeError(serializedInternalServerError);\nconst deserializedBasicError = deserializeError(serializedBasicError);\nconst deserializedUntypedError = deserializeError(serializedUntypedError);\n```\n\nUse these, if you cannot be entirely certain that an error will be from `@atlas-engine/error_provider`.\n\n### A note on @essential-projects/errors_ts\n\nSince this package is the continuation of `@essential-projects/errors_ts`, the `deserializeError` and `serializeError` functions are able to handle errors from that package as well.\n\n## Test\n\nYou can run the tests by simply calling:\n\n```bash\nnpm test\n```\n\n## Error Codes\n\nThe Errors are mostly based on [HTTP status codes](https://de.wikipedia.org/wiki/HTTP-Statuscode).\nEvery Error, except for the `BaseError` extends `BaseError`, which in turn extends `Error`.\n\n| Name                               | Code    |\n| ---                                | ---     |\n| BaseError                          |         |\n|                                    |         |\n| **Information Errors**             | **1xx** |\n| ContinueError                      | 100     |\n| SwitchingProtocolsError            | 101     |\n| ProcessingError                    | 102     |\n|                                    |         |\n| **Redirect Errors**                | **3xx** |\n| MultipleChoicesError               | 300     |\n| MovedError                         | 301     |\n| FoundError                         | 302     |\n| SeeOtherError                      | 303     |\n| NotModifiedError                   | 304     |\n| UseProxyError                      | 305     |\n| TemporaryRedirectError             | 307     |\n| PermanentRedirectError             | 308     |\n|                                    |         |\n| **Client Errors**                  | **4xx** |\n| BadRequestError                    | 400     |\n| UnauthorizedError                  | 401     |\n| PaymentRequiredError               | 402     |\n| ForbiddenError                     | 403     |\n| NotFoundError                      | 404     |\n| MethodNotAllowedError              | 405     |\n| NotAcceptableError                 | 406     |\n| ProxyAuthenticationRequiredError   | 407     |\n| RequestTimeoutError                | 408     |\n| ConflictError                      | 409     |\n| GoneError                          | 410     |\n| LengthRequiredError                | 411     |\n| PreconditionFailedError            | 412     |\n| RequestTooLargeError               | 413     |\n| URLTooLongError                    | 414     |\n| UnsupportedMediaTypeError          | 415     |\n| RequestedRangeNotSatisfiableError  | 416     |\n| ExpectationFailedError             | 417     |\n| ImATeapotError                     | 418     |\n| PolicyNotFulfilledError            | 420     |\n| MisdirectredRequestError           | 421     |\n| UnprocessableEntityError           | 422     |\n| LockedError                        | 423     |\n| FailedDependencyError              | 424     |\n| UpgradeRequiredError               | 426     |\n| PreconditionRequiredError          | 428     |\n| TooManyRequestsError               | 429     |\n| RequestHeaderTooLargeError         | 431     |\n| UnavaliableForLegalReasonsError    | 451     |\n|                                    |         |\n| **Server Errors**                  | **5xx** |\n| InternalServerError                | 500     |\n| NotImplementedError                | 501     |\n| BadGatewayError                    | 502     |\n| ServiceUnavaliableError            | 503     |\n| GatewayTimeoutError                | 504     |\n| VersionNotSupportedError           | 505     |\n| InsufficientStorageError           | 507     |\n| LoopDetectedError                  | 508     |\n| BandwithLimitExceededError         | 509     |\n| NetworkAuthenticationRequiredError | 511     |\n","gitHead":"358031140ae4de0f9e85fde9e4f23be994b8471c","scripts":{"lint":"eslint  src/**/*.ts src/*.ts","test":"mocha -r ts-node/register tests/*.ts","build":"npm run clean && npm run build-commonjs && npm run build-amd","clean":"rm -rf dist","prepare":"npm run build && npm run lint && npm test","lint-fix":"eslint --fix  src/**/*.ts src/*.ts","build-amd":"tsc --module amd --outDir ./dist/amd","build-commonjs":"tsc"},"typings":"dist/index.d.ts","_npmUser":{"name":"process-engine-ci","email":"ci+npm@process-engine.io"},"deprecated":"Please upgrade to version 1.0.3","repository":{"url":"git+https://github.com/atlas-engine/ErrorProvider.git","type":"git"},"_npmVersion":"6.14.4","description":"Contains a set of technical errors that our protocal adapters can handle.","directories":{},"_nodeVersion":"12.16.2","dependencies":{},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"mocha":"7.1.1","eslint":"6.8.0","should":"13.2.3","ts-node":"8.8.2","typescript":"3.8.3","@types/node":"12.12.36","@types/mocha":"5.2.7","@process-engine/ci_tools":"^3.0.0","@atlas-engine/eslint-config":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/error_provider_1.0.2-feature-358031-k9dz63zt_1587719478876_0.1458056252467428","host":"s3://npm-registry-packages"}},"1.0.2-alpha.1":{"name":"@atlas-engine/error_provider","version":"1.0.2-alpha.1","author":{"name":"5Minds IT-Solutions GmbH & Co. KG"},"license":"MIT","_id":"@atlas-engine/error_provider@1.0.2-alpha.1","maintainers":[{"name":"alexanderkasten","email":"alexander.kasten@5minds.de"},{"name":"fvanbraak","email":"frank.vanbraak@5minds.de"},{"name":"moellenbeck","email":"martin.moellenbeck@5minds.de"},{"name":"obivarg","email":"christian.werner@5minds.de"},{"name":"process-engine-ci","email":"ci+npm@process-engine.io"},{"name":"rrrene","email":"rf@bamaru.de"},{"name":"steffen982","email":"Steffenknaup@hotmail.de"}],"homepage":"https://github.com/atlas-engine/ErrorProvider#readme","bugs":{"url":"https://github.com/atlas-engine/ErrorProvider/issues"},"dist":{"shasum":"df59352ccd2bcaea89ce24d92da8682dd1c879f9","tarball":"https://registry.npmjs.org/@atlas-engine/error_provider/-/error_provider-1.0.2-alpha.1.tgz","fileCount":309,"integrity":"sha512-pMmvveFBwMMCGWo4cAZwv4Scb2IhG/I2WxqTqt47d+3Pl9jYTa8EHx4/xZY+Ge0XgSBADPHqf9j9/7b9efgibA==","signatures":[{"sig":"MEQCIDjpls2LY7STZEnA0nbzUsHNfOwmE52yl5iRNUNxD73iAiA1HDCqdUlTcX5mayz2aGMbTD+4zi46g3IHZF0+GHeOzA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":167118,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeoq2iCRA9TVsSAnZWagAAN6wP/0lmlvgYfo8MjsF3RrQx\neQ8VF+flM4XVfdys1ROk0xoQz2Gfqk8nIzmS7cMRtV5su75T2rSQuTkxauOX\n7Zy30m1w3dArPkfiMTBPE8BVg/un5+NYs5vUmFdFqdhZQf//j9UIZRSWb+PL\nOL7oj3xkX9uQEIeJiNL40Nx8BaWiUfRhgVdOeREF0euiHmEa331+mTva7yFK\nD2FAN9jKYZ12jVSkLUFnFwaIf6Vz53e2XFGxIqKCG5I5GHpBvZxsCem3pnqw\nWSSWGoHPCb4N9RHJ2+byqvFwzzXzwF5u4U6z209sjZsvQAMfwl7wAxGIPgI3\nSyeWcHvJZZeA992b6TQqS83Skt5YYXAf/jhp+F1wxSHpMaNEqGrz//G3lzYd\nakwrbDZpKNzGIfpz/dlUzY/IYdBVfCS8CZKJgty5aQurjRsctDTc9ajGEORz\naOyfBfRsrVIAhHSvKbgT7nYV37EkYtg3e0KNpuxBjEekDnCIp6JmwOvQMhAo\nQkUCJEpasjiTCGcCM1NHlThhlkWztMeCZRwNW7ccLou8ML0NrjfjnRBK3re1\n/5YxNFFdhBGnxzoXtpY6BS3xaC2xw/wVpgxWOdzNnVbCeTwwYOWnV2KXmYqp\ngqAS9qAlfrTeQ1DmFTjvLTLVMj5wR5duom9AVXlZnd2Zy4tcu/fbe4rfNrXY\nAgU1\r\n=Et0E\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/commonjs/index.js","readme":"# ErrorProvider\n\nA technical error provider.\n\nThe errors are based on HTTP, but can be used anywhere else as well.\nThis is also the set of errors that the AtlasEngine uses internally.\n\n## Usage\n\nInstallation:\n\n```sh\nnpm install --save @atlas-engine/error_provider\n```\n\nUsage in NodeJS:\n\n```js\nconst ERRORNAME = require('@atlas-engine/error_provider').ERRORNAME;\n// or\nconst {ERRORNAME1, ERRORNAME2, ERRORNAME3} = require('@atlas-engine/error_provider');\n\nconst error = new ERRORNAME('fancy error message');\n```\n\nUsage in TypeScript:\n\n```ts\nimport * as Errors from '@atlas-engine/error_provider';\n// or\nimport {ERRORNAME1, ERRORNAME2, ERRORNAME3} from '@atlas-engine/error_provider';\n\nconst error = new Errors.ERRORNAME('fancy error message');\nconst anotherError = new ERRORNAME1('fancy error message');\n```\n\nWhere `ERRORNAME` is the error you want to import.\n\nAll errors from this package have the `isAtlasEngineError`-property, so that they can be easily recognized as such.\n\n## Serialization and Deserialization\n\nThere are two ways to serialize/deserialize the errors:\n\n### Direct serialization\n\n**Serialization:**\n\nEach error has a `serialize` function which creates a string representation of the error object.\n\nFor example:\n\n```ts\nimport {InternalServerError} from '@atlas-engine/error_provider';\n\nconst error = new InternalServerError('error!');\nconst serializedError = error.serialize();\n```\n\n**Deserialization:**\n\nThe `BaseError` class provides a static `deserialize` function, which accepts a string argument.\nIt tries to parse the string into a corresponding `AtlasEngine` error and returns the result.\n\nFor example:\n\n```ts\nimport {BaseError} from '@atlas-engine/error_provider';\n\nconst serializedError = '{\"errorClassName\":\"InternalServerError\",\"code\":500,\"message\":\"Process was terminated!\",\"callStack\":\"InternalServerError: Process was terminated!\\n    at <InsertStackHere>\"}';\nconst error = BaseError.deserialize();\n```\n\n**Note:**\nThe function will throw an error, if the given string does not properly represent an AtlasEngine error!\n\n### Serializer functions\n\nWe also provide a global `serialize` and `deserialize` function, which work independently from any internal errors.\n\nUnlike the serializer functions attached to `BaseError`, these functions are also able to handle base `Error` objects and even plain JSONs.\n\nExample:\n\n```ts\nimport {deserializeError, InternalServerError, serializeError} from '@atlas-engine/error_provider';\n\nconst internalServerError = new InternalServerError('error!');\nconst basicError = new Error('error!');\nconst untypedError = {message: 'Oh no, where did my type info go!?', code: 666};\n\n// Serializing errors\nconst serializedInternalServerError = serializeError(internalServerError);\nconst serializedBasicError = serializeError(basicError);\nconst serializedUntypedError = serializeError(untypedError);\n\n// Deserializing errors\n// The results should match the errors declared above\nconst deserializedInternalServerError = deserializeError(serializedInternalServerError);\nconst deserializedBasicError = deserializeError(serializedBasicError);\nconst deserializedUntypedError = deserializeError(serializedUntypedError);\n```\n\nUse these, if you cannot be entirely certain that an error will be from `@atlas-engine/error_provider`.\n\n### A note on @essential-projects/errors_ts\n\nSince this package is the continuation of `@essential-projects/errors_ts`, the `deserializeError` and `serializeError` functions are able to handle errors from that package as well.\n\n## Test\n\nYou can run the tests by simply calling:\n\n```bash\nnpm test\n```\n\n## Error Codes\n\nThe Errors are mostly based on [HTTP status codes](https://de.wikipedia.org/wiki/HTTP-Statuscode).\nEvery Error, except for the `BaseError` extends `BaseError`, which in turn extends `Error`.\n\n| Name                               | Code    |\n| ---                                | ---     |\n| BaseError                          |         |\n|                                    |         |\n| **Information Errors**             | **1xx** |\n| ContinueError                      | 100     |\n| SwitchingProtocolsError            | 101     |\n| ProcessingError                    | 102     |\n|                                    |         |\n| **Redirect Errors**                | **3xx** |\n| MultipleChoicesError               | 300     |\n| MovedError                         | 301     |\n| FoundError                         | 302     |\n| SeeOtherError                      | 303     |\n| NotModifiedError                   | 304     |\n| UseProxyError                      | 305     |\n| TemporaryRedirectError             | 307     |\n| PermanentRedirectError             | 308     |\n|                                    |         |\n| **Client Errors**                  | **4xx** |\n| BadRequestError                    | 400     |\n| UnauthorizedError                  | 401     |\n| PaymentRequiredError               | 402     |\n| ForbiddenError                     | 403     |\n| NotFoundError                      | 404     |\n| MethodNotAllowedError              | 405     |\n| NotAcceptableError                 | 406     |\n| ProxyAuthenticationRequiredError   | 407     |\n| RequestTimeoutError                | 408     |\n| ConflictError                      | 409     |\n| GoneError                          | 410     |\n| LengthRequiredError                | 411     |\n| PreconditionFailedError            | 412     |\n| RequestTooLargeError               | 413     |\n| URLTooLongError                    | 414     |\n| UnsupportedMediaTypeError          | 415     |\n| RequestedRangeNotSatisfiableError  | 416     |\n| ExpectationFailedError             | 417     |\n| ImATeapotError                     | 418     |\n| PolicyNotFulfilledError            | 420     |\n| MisdirectredRequestError           | 421     |\n| UnprocessableEntityError           | 422     |\n| LockedError                        | 423     |\n| FailedDependencyError              | 424     |\n| UpgradeRequiredError               | 426     |\n| PreconditionRequiredError          | 428     |\n| TooManyRequestsError               | 429     |\n| RequestHeaderTooLargeError         | 431     |\n| UnavaliableForLegalReasonsError    | 451     |\n|                                    |         |\n| **Server Errors**                  | **5xx** |\n| InternalServerError                | 500     |\n| NotImplementedError                | 501     |\n| BadGatewayError                    | 502     |\n| ServiceUnavaliableError            | 503     |\n| GatewayTimeoutError                | 504     |\n| VersionNotSupportedError           | 505     |\n| InsufficientStorageError           | 507     |\n| LoopDetectedError                  | 508     |\n| BandwithLimitExceededError         | 509     |\n| NetworkAuthenticationRequiredError | 511     |\n","gitHead":"a15f7958bd3f0c37329bc9fb658e562fc4f630ff","scripts":{"lint":"eslint  src/**/*.ts src/*.ts","test":"mocha -r ts-node/register tests/*.ts","build":"npm run clean && npm run build-commonjs && npm run build-amd","clean":"rm -rf dist","prepare":"npm run build && npm run lint && npm test","lint-fix":"eslint --fix  src/**/*.ts src/*.ts","build-amd":"tsc --module amd --outDir ./dist/amd","build-commonjs":"tsc"},"typings":"dist/index.d.ts","_npmUser":{"name":"process-engine-ci","email":"ci+npm@process-engine.io"},"deprecated":"Please upgrade to version 1.0.3","repository":{"url":"git+https://github.com/atlas-engine/ErrorProvider.git","type":"git"},"_npmVersion":"6.14.4","description":"Contains a set of technical errors that our protocal adapters can handle.","directories":{},"_nodeVersion":"12.16.2","dependencies":{},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"mocha":"7.1.1","eslint":"6.8.0","should":"13.2.3","ts-node":"8.8.2","typescript":"3.8.3","@types/node":"12.12.36","@types/mocha":"5.2.7","@process-engine/ci_tools":"^3.0.0","@atlas-engine/eslint-config":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/error_provider_1.0.2-alpha.1_1587719586535_0.343743186584458","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"@atlas-engine/error_provider","version":"1.0.3","author":{"name":"5Minds IT-Solutions GmbH & Co. KG"},"license":"MIT","_id":"@atlas-engine/error_provider@1.0.3","maintainers":[{"name":"alexanderkasten","email":"alexander.kasten@5minds.de"},{"name":"fvanbraak","email":"frank.vanbraak@5minds.de"},{"name":"moellenbeck","email":"martin.moellenbeck@5minds.de"},{"name":"obivarg","email":"christian.werner@5minds.de"},{"name":"process-engine-ci","email":"ci+npm@process-engine.io"},{"name":"rrrene","email":"rf@bamaru.de"},{"name":"steffen982","email":"Steffenknaup@hotmail.de"}],"homepage":"https://github.com/atlas-engine/ErrorProvider#readme","bugs":{"url":"https://github.com/atlas-engine/ErrorProvider/issues"},"dist":{"shasum":"39696868ed17bc665a66720a91187012fad4ed2d","tarball":"https://registry.npmjs.org/@atlas-engine/error_provider/-/error_provider-1.0.3.tgz","fileCount":309,"integrity":"sha512-SvTbZBLNLnMGTHhx48oCmHt1eFJtSuJO2Yoe0EYRGbdVFUGgLPixh2dhUgSmr1O16G49P/taDeL9u3z22L5wkA==","signatures":[{"sig":"MEQCIAln1qn1KGG3lj9GJ81eFK+NgcfkxiO/MYiKTmqT1QKAAiASThKEgGUDjgG5KQlLiSuyQWb1vp/1QOIUNWtzbF2knA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":167110,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeqT1OCRA9TVsSAnZWagAATlsP/iDtFvtd70JrVFr6xCe7\nB6VzPFFOpzJymcqYH0UDv7u9QsTv6kcugnm55VliaE3YPF/QKgPGBP6v8nKl\nqM+Vl3IIy/lsAfssXeevtsc+2Oru5UoZz6YzukARLc65BuHeJIBEefv86rIE\n7OjeMcJPV61MmB7jTXfZPwXh7cprORd5rmSQCX6YVpNB+cXvIOWozjBRspTb\nmK5XXH88H7fgajCVNNj4mMPwOXbLTBq+8YLOs2JBWhzW7FgrEIcjRf0glvVH\nFngb3eAne5npktqbjzXRRqnomsAQOfnNLt7rkbi2Q8YG6VHQnnEdmDDb8S89\npaCA3hZj3Y4+oxtCnJ7dcelU7qMMoFJI36DaK54c6h9YQTJcu4CBqj8a0k2/\n2Op6C0mjdiWyEwU8Cu18qhUDS6LwP/QDArSnaJHl6xX+zmD7Qi0pchrZUwWY\nRMx4d57Kt8GI1b2GP9sU9oE0iS/FEWPaakILWGlKKxCDhTW8y1Qm5C/NuQge\n1DmyQIE9mCE6ggKW+5+yNIiw7yC/a4Vxg+Zljyl5wFfVJHLXlbUx7mTJfNZS\n8jE9Yc8eCxuE1qymUxd8pD127oboCdJwqIZM0O2qIwgYnXQ3R05hq8emRwfL\nX+08TciYI+WZhy/vYTYu1VNalS7SeZZrMvbmsMryfmOdSdOVNK0O37o88T2i\nzYcE\r\n=sm9o\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/commonjs/index.js","gitHead":"5affbd9cd1b967802d3e151dcea19cb9b7eb1113","scripts":{"lint":"eslint  src/**/*.ts src/*.ts","test":"mocha -r ts-node/register tests/*.ts","build":"npm run clean && npm run build-commonjs && npm run build-amd","clean":"rm -rf dist","prepare":"npm run build && npm run lint && npm test","lint-fix":"eslint --fix  src/**/*.ts src/*.ts","build-amd":"tsc --module amd --outDir ./dist/amd","build-commonjs":"tsc"},"typings":"dist/index.d.ts","_npmUser":{"name":"process-engine-ci","email":"ci+npm@process-engine.io"},"deprecated":"This package is no longer maintained. Consider upgrading your engine to v13, which no longer uses this package.","repository":{"url":"git+https://github.com/atlas-engine/ErrorProvider.git","type":"git"},"_npmVersion":"6.14.4","description":"Contains a set of technical errors that our protocal adapters can handle.","directories":{},"_nodeVersion":"12.16.3","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"mocha":"7.1.2","eslint":"6.8.0","should":"13.2.3","ts-node":"8.9.1","typescript":"3.8.3","@types/node":"12.12.36","@types/mocha":"7.0.2","@process-engine/ci_tools":"^3.0.0","@atlas-engine/eslint-config":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/error_provider_1.0.3_1588149582218_0.17564561215847974","host":"s3://npm-registry-packages"}},"1.0.3-alpha.1":{"name":"@atlas-engine/error_provider","version":"1.0.3-alpha.1","author":{"name":"5Minds IT-Solutions GmbH & Co. KG"},"license":"MIT","_id":"@atlas-engine/error_provider@1.0.3-alpha.1","maintainers":[{"name":"alexanderkasten","email":"alexander.kasten@5minds.de"},{"name":"fvanbraak","email":"frank.vanbraak@5minds.de"},{"name":"lukas.huerter","email":"lukas.huerter@5minds.de"},{"name":"moellenbeck","email":"martin.moellenbeck@5minds.de"},{"name":"obivarg","email":"christian.werner@5minds.de"},{"name":"process-engine-ci","email":"ci+npm@process-engine.io"},{"name":"rrrene","email":"rf@bamaru.de"},{"name":"steffen982","email":"Steffenknaup@hotmail.de"}],"homepage":"https://github.com/atlas-engine/ErrorProvider#readme","bugs":{"url":"https://github.com/atlas-engine/ErrorProvider/issues"},"dist":{"shasum":"aaf4230fe7080283f73a6a4b5cd3dbc03e49b35f","tarball":"https://registry.npmjs.org/@atlas-engine/error_provider/-/error_provider-1.0.3-alpha.1.tgz","fileCount":309,"integrity":"sha512-qkQ0TK5Vc88aFylIFiPLK190ld4DwiESlg7qx12TfYcckbnWn85dVh9eHetvrLHn3HAz/9+pcmhd66GEaQPFxQ==","signatures":[{"sig":"MEUCIQC5vymq5EiOLXVlhQx6u/YSZigQvZHF+ISFSfPJyGnYcwIgFFpY0J0in9km7Q+TNgzv+x/eDHVYTEw9KPxk1i2v/dY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":177282,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe1jAaCRA9TVsSAnZWagAAF/UP/0sY0KmVDn2IaqDfk/jp\n+z8BCzInMfMMV2NooImzTS/a8Qh36ImYBEaVgMHdv7In+3+/T/8zAb2JaWTj\n1JnVMFxGYwcHJeh6HfBgmNrRKHu1Qfkfsfj00rasHyu8mwMm51li+6Ts/dVE\nJ8WHYehJxaspIyUNW0/WY+dM82X56ua7UXBTA4d/ezFFAuNQkByY43bHdFu7\nTL7KoKS2w/xZq/h+u3wxzUNUqMMItcEHLlBuavDhcOmepiE0t8wxkbFzcPVY\nPOOmN8b+/ByW+9dh1IGSw6P+4Yp9tpwLnTRF5qbAbPyCmPG5bFBaD7BbRO7x\neECfU3uBeTcKVQ7JH1r595G8LLjztYVcQCAVdFgDmQ6p4VEospRy9rdqQxXo\nARPGWX2NAn5Y5redlhvdgusjtbPDtHA5D4IgohaCsudIMf1IOk1cwF4SGZ+C\nREvafOp1Fjux/ht+x8p7IYqzIChEHAozRjciIkS/xD7iOq/fPvWeCxncmcpB\nEx+VwSYQdTxFk4svCcmhdlq0VOCB9hFlm/N760X1B/KvPgIK1NEq1QG5dO6u\nmAmo41MctOCAAlBT1js8i3td3vpgNL6fSvXjjjSEMSbfpERWP9kSbeC4R4TQ\nIZf63ostSZ6EbOSeubi+S5Z6DNxwiBtPixatlGIncD/xPR6xXQkVTrAw7zS4\nwBNC\r\n=t8Ce\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/commonjs/index.js","readme":"# ErrorProvider\n\nA technical error provider.\n\nThe errors are based on HTTP, but can be used anywhere else as well.\nThis is also the set of errors that the AtlasEngine uses internally.\n\n## Usage\n\nInstallation:\n\n```sh\nnpm install --save @atlas-engine/error_provider\n```\n\nUsage in NodeJS:\n\n```js\nconst ERRORNAME = require('@atlas-engine/error_provider').ERRORNAME;\n// or\nconst {ERRORNAME1, ERRORNAME2, ERRORNAME3} = require('@atlas-engine/error_provider');\n\nconst error = new ERRORNAME('fancy error message');\n```\n\nUsage in TypeScript:\n\n```ts\nimport * as Errors from '@atlas-engine/error_provider';\n// or\nimport {ERRORNAME1, ERRORNAME2, ERRORNAME3} from '@atlas-engine/error_provider';\n\nconst error = new Errors.ERRORNAME('fancy error message');\nconst anotherError = new ERRORNAME1('fancy error message');\n```\n\nWhere `ERRORNAME` is the error you want to import.\n\nAll errors from this package have the `isAtlasEngineError`-property, so that they can be easily recognized as such.\n\n## Serialization and Deserialization\n\nThere are two ways to serialize/deserialize the errors:\n\n### Direct serialization\n\n**Serialization:**\n\nEach error has a `serialize` function which creates a string representation of the error object.\n\nFor example:\n\n```ts\nimport {InternalServerError} from '@atlas-engine/error_provider';\n\nconst error = new InternalServerError('error!');\nconst serializedError = error.serialize();\n```\n\n**Deserialization:**\n\nThe `BaseError` class provides a static `deserialize` function, which accepts a string argument.\nIt tries to parse the string into a corresponding `AtlasEngine` error and returns the result.\n\nFor example:\n\n```ts\nimport {BaseError} from '@atlas-engine/error_provider';\n\nconst serializedError = '{\"errorClassName\":\"InternalServerError\",\"code\":500,\"message\":\"Process was terminated!\",\"callStack\":\"InternalServerError: Process was terminated!\\n    at <InsertStackHere>\"}';\nconst error = BaseError.deserialize();\n```\n\n**Note:**\nThe function will throw an error, if the given string does not properly represent an AtlasEngine error!\n\n### Serializer functions\n\nWe also provide a global `serialize` and `deserialize` function, which work independently from any internal errors.\n\nUnlike the serializer functions attached to `BaseError`, these functions are also able to handle base `Error` objects and even plain JSONs.\n\nExample:\n\n```ts\nimport {deserializeError, InternalServerError, serializeError} from '@atlas-engine/error_provider';\n\nconst internalServerError = new InternalServerError('error!');\nconst basicError = new Error('error!');\nconst untypedError = {message: 'Oh no, where did my type info go!?', code: 666};\n\n// Serializing errors\nconst serializedInternalServerError = serializeError(internalServerError);\nconst serializedBasicError = serializeError(basicError);\nconst serializedUntypedError = serializeError(untypedError);\n\n// Deserializing errors\n// The results should match the errors declared above\nconst deserializedInternalServerError = deserializeError(serializedInternalServerError);\nconst deserializedBasicError = deserializeError(serializedBasicError);\nconst deserializedUntypedError = deserializeError(serializedUntypedError);\n```\n\nUse these, if you cannot be entirely certain that an error will be from `@atlas-engine/error_provider`.\n\n### A note on @essential-projects/errors_ts\n\nSince this package is the continuation of `@essential-projects/errors_ts`, the `deserializeError` and `serializeError` functions are able to handle errors from that package as well.\n\n## Test\n\nYou can run the tests by simply calling:\n\n```bash\nnpm test\n```\n\n## Error Codes\n\nThe Errors are mostly based on [HTTP status codes](https://de.wikipedia.org/wiki/HTTP-Statuscode).\nEvery Error, except for the `BaseError` extends `BaseError`, which in turn extends `Error`.\n\n| Name                               | Code    |\n| ---                                | ---     |\n| BaseError                          |         |\n|                                    |         |\n| **Information Errors**             | **1xx** |\n| ContinueError                      | 100     |\n| SwitchingProtocolsError            | 101     |\n| ProcessingError                    | 102     |\n|                                    |         |\n| **Redirect Errors**                | **3xx** |\n| MultipleChoicesError               | 300     |\n| MovedError                         | 301     |\n| FoundError                         | 302     |\n| SeeOtherError                      | 303     |\n| NotModifiedError                   | 304     |\n| UseProxyError                      | 305     |\n| TemporaryRedirectError             | 307     |\n| PermanentRedirectError             | 308     |\n|                                    |         |\n| **Client Errors**                  | **4xx** |\n| BadRequestError                    | 400     |\n| UnauthorizedError                  | 401     |\n| PaymentRequiredError               | 402     |\n| ForbiddenError                     | 403     |\n| NotFoundError                      | 404     |\n| MethodNotAllowedError              | 405     |\n| NotAcceptableError                 | 406     |\n| ProxyAuthenticationRequiredError   | 407     |\n| RequestTimeoutError                | 408     |\n| ConflictError                      | 409     |\n| GoneError                          | 410     |\n| LengthRequiredError                | 411     |\n| PreconditionFailedError            | 412     |\n| RequestTooLargeError               | 413     |\n| URLTooLongError                    | 414     |\n| UnsupportedMediaTypeError          | 415     |\n| RequestedRangeNotSatisfiableError  | 416     |\n| ExpectationFailedError             | 417     |\n| ImATeapotError                     | 418     |\n| PolicyNotFulfilledError            | 420     |\n| MisdirectredRequestError           | 421     |\n| UnprocessableEntityError           | 422     |\n| LockedError                        | 423     |\n| FailedDependencyError              | 424     |\n| UpgradeRequiredError               | 426     |\n| PreconditionRequiredError          | 428     |\n| TooManyRequestsError               | 429     |\n| RequestHeaderTooLargeError         | 431     |\n| UnavaliableForLegalReasonsError    | 451     |\n|                                    |         |\n| **Server Errors**                  | **5xx** |\n| InternalServerError                | 500     |\n| NotImplementedError                | 501     |\n| BadGatewayError                    | 502     |\n| ServiceUnavaliableError            | 503     |\n| GatewayTimeoutError                | 504     |\n| VersionNotSupportedError           | 505     |\n| InsufficientStorageError           | 507     |\n| LoopDetectedError                  | 508     |\n| BandwithLimitExceededError         | 509     |\n| NetworkAuthenticationRequiredError | 511     |\n","gitHead":"f900990ae36bf1d227e835ed884f47a20c963cad","scripts":{"lint":"eslint  src/**/*.ts src/*.ts","test":"mocha -r ts-node/register tests/*.ts","build":"npm run clean && npm run build-commonjs && npm run build-amd","clean":"rm -rf dist","prepare":"npm run build && npm run lint && npm test","lint-fix":"eslint --fix  src/**/*.ts src/*.ts","build-amd":"tsc --module amd --outDir ./dist/amd","build-commonjs":"tsc"},"typings":"dist/index.d.ts","_npmUser":{"name":"process-engine-ci","email":"ci+npm@process-engine.io"},"deprecated":"This package is no longer maintained. Consider upgrading your engine to v13, which no longer uses this package.","repository":{"url":"git+https://github.com/atlas-engine/ErrorProvider.git","type":"git"},"_npmVersion":"6.14.4","description":"Contains a set of technical errors that our protocal adapters can handle.","directories":{},"_nodeVersion":"12.16.3","dependencies":{},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"mocha":"7.2.0","eslint":"6.8.0","should":"13.2.3","ts-node":"8.9.1","typescript":"3.9.3","@types/node":"12.12.36","@types/mocha":"7.0.2","@process-engine/ci_tools":"^3.0.0","@atlas-engine/eslint-config":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/error_provider_1.0.3-alpha.1_1591095322139_0.5264512207930223","host":"s3://npm-registry-packages"}},"1.0.3-beta.1":{"name":"@atlas-engine/error_provider","version":"1.0.3-beta.1","author":{"name":"5Minds IT-Solutions GmbH & Co. KG"},"license":"MIT","_id":"@atlas-engine/error_provider@1.0.3-beta.1","maintainers":[{"name":"lukas.huerter","email":"lukas.huerter@5minds.de"},{"name":"fvanbraak","email":"frank.vanbraak@5minds.de"},{"name":"process-engine-ci","email":"ci+npm@process-engine.io"},{"name":"steffen982","email":"Steffenknaup@hotmail.de"},{"name":"rrrene","email":"rf@bamaru.de"},{"name":"alexanderkasten","email":"alexander.kasten@5minds.de"},{"name":"moellenbeck","email":"martin.moellenbeck@5minds.de"},{"name":"obivarg","email":"christian.werner@5minds.de"}],"homepage":"https://github.com/atlas-engine/ErrorProvider#readme","bugs":{"url":"https://github.com/atlas-engine/ErrorProvider/issues"},"dist":{"shasum":"263fe8c6b9cc066aa2e0a96cdf91e421d526938f","tarball":"https://registry.npmjs.org/@atlas-engine/error_provider/-/error_provider-1.0.3-beta.1.tgz","fileCount":309,"integrity":"sha512-vmcTphuIgQILGQD1kKld+o6O0UlZp3gwfj+YAl8KGIgYysYlMdJrBDzhDqsI1AQuzHEs0wkIrzrhVD39H2v1wA==","signatures":[{"sig":"MEUCIQDLs5cMW+pmVPWMIqXRWb1iQb/ofZmZcVKVXDS8eyg/swIgAJFYZpefeqQGZ+GfkCvuFIOYv8/yOf6B7ZiQtetCkkA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":177281,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfkCL/CRA9TVsSAnZWagAAD3IP/Rmb1eRaEhwv5Cuqq263\n15bjwldQkjmlW80OyZlefLPPN5nrRJUunas6UYRsZeAs4YnFY3Uw5krSlXb2\nwW3RdLSG1TRZ7rd+scyq0eG+scEEz6dVOil07DiYwenxpmbJJ1jEkLP1yigo\n+D6tqB26F+OjAr3mReVtjn+wIWEStdiCjAHH10S9wq/ZUUkS5Y8a0vmDNE7p\npyRNwCAiJyMyCpWGOTCHjPHwAv5hpx/qWgA4IYEON4pr1cGw+fatJXUKrJFg\nfl7YV8YRFRH8Lfq4z0u9A1/LC0htJDDyysSXYbTpYoKJwz01JvElqkGePyLH\nWEGvlf5YBWeuRLLKzZlKvtDPoymNnqoAPN82W5hwAH8zSa1u0zLS3aswt6PU\ng1fjeoaGASqrYkSI69gfWa0uiDWQkjg4iaYjfzY71Az6BwNeCIZCqHpnIQS5\nvukjRDDHqDEpxNHhL61lFpfOkizGTKS+pUx8WPIJXfhViiiAk0bieEa0ifPf\nSl8e1cCwNXDstPrIvZ4xZNgi5A3SWL8Ej8bSOdWcj417DXA1pucaRCV/mTnP\nFJS4NKyEsQQaUK+2VtrbdaAhQlHBI2wdNgjmMGvXKYjF5QcMdCIyNHwf2jDM\n4yG38P8uRKJfyj/6O0laqN5jYu+7IYVxC2JzR4yOBrosGEUt14htdpKJN83Q\nsqEJ\r\n=ciwZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/commonjs/index.js","readme":"# ErrorProvider\n\nA technical error provider.\n\nThe errors are based on HTTP, but can be used anywhere else as well.\nThis is also the set of errors that the AtlasEngine uses internally.\n\n## Usage\n\nInstallation:\n\n```sh\nnpm install --save @atlas-engine/error_provider\n```\n\nUsage in NodeJS:\n\n```js\nconst ERRORNAME = require('@atlas-engine/error_provider').ERRORNAME;\n// or\nconst {ERRORNAME1, ERRORNAME2, ERRORNAME3} = require('@atlas-engine/error_provider');\n\nconst error = new ERRORNAME('fancy error message');\n```\n\nUsage in TypeScript:\n\n```ts\nimport * as Errors from '@atlas-engine/error_provider';\n// or\nimport {ERRORNAME1, ERRORNAME2, ERRORNAME3} from '@atlas-engine/error_provider';\n\nconst error = new Errors.ERRORNAME('fancy error message');\nconst anotherError = new ERRORNAME1('fancy error message');\n```\n\nWhere `ERRORNAME` is the error you want to import.\n\nAll errors from this package have the `isAtlasEngineError`-property, so that they can be easily recognized as such.\n\n## Serialization and Deserialization\n\nThere are two ways to serialize/deserialize the errors:\n\n### Direct serialization\n\n**Serialization:**\n\nEach error has a `serialize` function which creates a string representation of the error object.\n\nFor example:\n\n```ts\nimport {InternalServerError} from '@atlas-engine/error_provider';\n\nconst error = new InternalServerError('error!');\nconst serializedError = error.serialize();\n```\n\n**Deserialization:**\n\nThe `BaseError` class provides a static `deserialize` function, which accepts a string argument.\nIt tries to parse the string into a corresponding `AtlasEngine` error and returns the result.\n\nFor example:\n\n```ts\nimport {BaseError} from '@atlas-engine/error_provider';\n\nconst serializedError = '{\"errorClassName\":\"InternalServerError\",\"code\":500,\"message\":\"Process was terminated!\",\"callStack\":\"InternalServerError: Process was terminated!\\n    at <InsertStackHere>\"}';\nconst error = BaseError.deserialize();\n```\n\n**Note:**\nThe function will throw an error, if the given string does not properly represent an AtlasEngine error!\n\n### Serializer functions\n\nWe also provide a global `serialize` and `deserialize` function, which work independently from any internal errors.\n\nUnlike the serializer functions attached to `BaseError`, these functions are also able to handle base `Error` objects and even plain JSONs.\n\nExample:\n\n```ts\nimport {deserializeError, InternalServerError, serializeError} from '@atlas-engine/error_provider';\n\nconst internalServerError = new InternalServerError('error!');\nconst basicError = new Error('error!');\nconst untypedError = {message: 'Oh no, where did my type info go!?', code: 666};\n\n// Serializing errors\nconst serializedInternalServerError = serializeError(internalServerError);\nconst serializedBasicError = serializeError(basicError);\nconst serializedUntypedError = serializeError(untypedError);\n\n// Deserializing errors\n// The results should match the errors declared above\nconst deserializedInternalServerError = deserializeError(serializedInternalServerError);\nconst deserializedBasicError = deserializeError(serializedBasicError);\nconst deserializedUntypedError = deserializeError(serializedUntypedError);\n```\n\nUse these, if you cannot be entirely certain that an error will be from `@atlas-engine/error_provider`.\n\n### A note on @essential-projects/errors_ts\n\nSince this package is the continuation of `@essential-projects/errors_ts`, the `deserializeError` and `serializeError` functions are able to handle errors from that package as well.\n\n## Test\n\nYou can run the tests by simply calling:\n\n```bash\nnpm test\n```\n\n## Error Codes\n\nThe Errors are mostly based on [HTTP status codes](https://de.wikipedia.org/wiki/HTTP-Statuscode).\nEvery Error, except for the `BaseError` extends `BaseError`, which in turn extends `Error`.\n\n| Name                               | Code    |\n| ---                                | ---     |\n| BaseError                          |         |\n|                                    |         |\n| **Information Errors**             | **1xx** |\n| ContinueError                      | 100     |\n| SwitchingProtocolsError            | 101     |\n| ProcessingError                    | 102     |\n|                                    |         |\n| **Redirect Errors**                | **3xx** |\n| MultipleChoicesError               | 300     |\n| MovedError                         | 301     |\n| FoundError                         | 302     |\n| SeeOtherError                      | 303     |\n| NotModifiedError                   | 304     |\n| UseProxyError                      | 305     |\n| TemporaryRedirectError             | 307     |\n| PermanentRedirectError             | 308     |\n|                                    |         |\n| **Client Errors**                  | **4xx** |\n| BadRequestError                    | 400     |\n| UnauthorizedError                  | 401     |\n| PaymentRequiredError               | 402     |\n| ForbiddenError                     | 403     |\n| NotFoundError                      | 404     |\n| MethodNotAllowedError              | 405     |\n| NotAcceptableError                 | 406     |\n| ProxyAuthenticationRequiredError   | 407     |\n| RequestTimeoutError                | 408     |\n| ConflictError                      | 409     |\n| GoneError                          | 410     |\n| LengthRequiredError                | 411     |\n| PreconditionFailedError            | 412     |\n| RequestTooLargeError               | 413     |\n| URLTooLongError                    | 414     |\n| UnsupportedMediaTypeError          | 415     |\n| RequestedRangeNotSatisfiableError  | 416     |\n| ExpectationFailedError             | 417     |\n| ImATeapotError                     | 418     |\n| PolicyNotFulfilledError            | 420     |\n| MisdirectredRequestError           | 421     |\n| UnprocessableEntityError           | 422     |\n| LockedError                        | 423     |\n| FailedDependencyError              | 424     |\n| UpgradeRequiredError               | 426     |\n| PreconditionRequiredError          | 428     |\n| TooManyRequestsError               | 429     |\n| RequestHeaderTooLargeError         | 431     |\n| UnavaliableForLegalReasonsError    | 451     |\n|                                    |         |\n| **Server Errors**                  | **5xx** |\n| InternalServerError                | 500     |\n| NotImplementedError                | 501     |\n| BadGatewayError                    | 502     |\n| ServiceUnavaliableError            | 503     |\n| GatewayTimeoutError                | 504     |\n| VersionNotSupportedError           | 505     |\n| InsufficientStorageError           | 507     |\n| LoopDetectedError                  | 508     |\n| BandwithLimitExceededError         | 509     |\n| NetworkAuthenticationRequiredError | 511     |\n","gitHead":"065424bbbcc711c523df6b5631adb4bc280cd41d","scripts":{"lint":"eslint  src/**/*.ts src/*.ts","test":"mocha -r ts-node/register tests/*.ts","build":"npm run clean && npm run build-commonjs && npm run build-amd","clean":"rm -rf dist","prepare":"npm run build && npm run lint && npm test","lint-fix":"eslint --fix  src/**/*.ts src/*.ts","build-amd":"tsc --module amd --outDir ./dist/amd","build-commonjs":"tsc"},"typings":"dist/index.d.ts","_npmUser":{"name":"process-engine-ci","email":"ci+npm@process-engine.io"},"deprecated":"This package is no longer maintained. Consider upgrading your engine to v13, which no longer uses this package.","repository":{"url":"git+https://github.com/atlas-engine/ErrorProvider.git","type":"git"},"_npmVersion":"6.14.8","description":"Contains a set of technical errors that our protocal adapters can handle.","directories":{},"_nodeVersion":"12.19.0","dependencies":{},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"mocha":"7.2.0","eslint":"6.8.0","should":"13.2.3","ts-node":"8.9.1","typescript":"3.9.3","@types/node":"12.12.36","@types/mocha":"7.0.2","@process-engine/ci_tools":"^3.0.0","@atlas-engine/eslint-config":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/error_provider_1.0.3-beta.1_1603281662731_0.9939305068022208","host":"s3://npm-registry-packages"}},"1.0.3-alpha.2":{"name":"@atlas-engine/error_provider","version":"1.0.3-alpha.2","author":{"name":"5Minds IT-Solutions GmbH & Co. KG"},"license":"MIT","_id":"@atlas-engine/error_provider@1.0.3-alpha.2","maintainers":[{"name":"lukas.huerter","email":"lukas.huerter@5minds.de"},{"name":"fvanbraak","email":"frank.vanbraak@5minds.de"},{"name":"process-engine-ci","email":"ci+npm@process-engine.io"},{"name":"steffen982","email":"Steffenknaup@hotmail.de"},{"name":"rrrene","email":"rf@bamaru.de"},{"name":"alexanderkasten","email":"alexander.kasten@5minds.de"},{"name":"moellenbeck","email":"martin.moellenbeck@5minds.de"},{"name":"obivarg","email":"christian.werner@5minds.de"}],"homepage":"https://github.com/atlas-engine/ErrorProvider#readme","bugs":{"url":"https://github.com/atlas-engine/ErrorProvider/issues"},"dist":{"shasum":"b247cd2b790ff247a97f52e635238ef261528700","tarball":"https://registry.npmjs.org/@atlas-engine/error_provider/-/error_provider-1.0.3-alpha.2.tgz","fileCount":309,"integrity":"sha512-BsMhBBTcr/iP0ZoEWdUfTA1Ip+WDirygmzxBk/QU0KbTT809Lmb578nc8J3L3ntcUOTNEK0lgZEnXHyFsUGqFQ==","signatures":[{"sig":"MEUCIGokir+ClQJrYCFhnUw+SVptvMIi+X0Ex8xIAirByytsAiEA6yLBlnXrtxYom4uJWujQNP86FfVipvpOCUcskcsolb8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":177282,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfkt8ZCRA9TVsSAnZWagAAcDoP/3pj0hKPu1muhfxACBXl\nfbKb5pu13gHLo8ObrQpeaxjTa5MOfAaA+L3bNU0Ej29Me8zwokeaA0VMaIoz\nE3SWZ/kNwHSvzL+OcNOYuHogFMw2uTtb8Ys5ES86HPYVEXoKTdNLeDdeAXt7\nSOmbkcK0DokKtzsFuXzkm0SKi+Quj16b+dW8oIIR5kvgdzyka3OYk9wF2t9Q\nJ8tVEW8+OF0qCgq3XxCCHSmnFqX+aIfX49IaOjDCVXM1d8SuNZCWl30YmbVT\n2ioLx+WNlnquNI8W8KQxfEGs8lHb/CPBHWe7eY143r8vZNQQK7KHER6xijjK\n0BuYOJfTvruIDe4gw9H/v5pJ2uFWxIFNINuqMbkrw7UZM1QdZ+XPv+PAEAa4\nqQNMDkdfnU82djKnvybHXDwe4nJn2jHoDO2nvrXdYZqYjZTVTpXPsuhHJEqD\nmBmpxREyzePX5pZ05ihAuP3d+eYl6De3P912GpJJ3ay+Aa+cULTMv1eyvM1P\ndCHRSRmC1H8DY/uw0u67m/u9B2Yxu8NzSJQBnVIGn88xdT5tS3HMjSB5curX\n/JrOiD9aDZKjUYYLgsNqo2uwGFXZsFvPzPmdnuhVgfTJDK9MUTzqlCB7tfUS\niTHRxYCzH/lbHmP547kMjsVHVuQb608ILNyEN9c+dp8oox82P5j3m5T+0JUm\nfhCz\r\n=l67X\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/commonjs/index.js","readme":"# ErrorProvider\n\nA technical error provider.\n\nThe errors are based on HTTP, but can be used anywhere else as well.\nThis is also the set of errors that the AtlasEngine uses internally.\n\n## Usage\n\nInstallation:\n\n```sh\nnpm install --save @atlas-engine/error_provider\n```\n\nUsage in NodeJS:\n\n```js\nconst ERRORNAME = require('@atlas-engine/error_provider').ERRORNAME;\n// or\nconst {ERRORNAME1, ERRORNAME2, ERRORNAME3} = require('@atlas-engine/error_provider');\n\nconst error = new ERRORNAME('fancy error message');\n```\n\nUsage in TypeScript:\n\n```ts\nimport * as Errors from '@atlas-engine/error_provider';\n// or\nimport {ERRORNAME1, ERRORNAME2, ERRORNAME3} from '@atlas-engine/error_provider';\n\nconst error = new Errors.ERRORNAME('fancy error message');\nconst anotherError = new ERRORNAME1('fancy error message');\n```\n\nWhere `ERRORNAME` is the error you want to import.\n\nAll errors from this package have the `isAtlasEngineError`-property, so that they can be easily recognized as such.\n\n## Serialization and Deserialization\n\nThere are two ways to serialize/deserialize the errors:\n\n### Direct serialization\n\n**Serialization:**\n\nEach error has a `serialize` function which creates a string representation of the error object.\n\nFor example:\n\n```ts\nimport {InternalServerError} from '@atlas-engine/error_provider';\n\nconst error = new InternalServerError('error!');\nconst serializedError = error.serialize();\n```\n\n**Deserialization:**\n\nThe `BaseError` class provides a static `deserialize` function, which accepts a string argument.\nIt tries to parse the string into a corresponding `AtlasEngine` error and returns the result.\n\nFor example:\n\n```ts\nimport {BaseError} from '@atlas-engine/error_provider';\n\nconst serializedError = '{\"errorClassName\":\"InternalServerError\",\"code\":500,\"message\":\"Process was terminated!\",\"callStack\":\"InternalServerError: Process was terminated!\\n    at <InsertStackHere>\"}';\nconst error = BaseError.deserialize();\n```\n\n**Note:**\nThe function will throw an error, if the given string does not properly represent an AtlasEngine error!\n\n### Serializer functions\n\nWe also provide a global `serialize` and `deserialize` function, which work independently from any internal errors.\n\nUnlike the serializer functions attached to `BaseError`, these functions are also able to handle base `Error` objects and even plain JSONs.\n\nExample:\n\n```ts\nimport {deserializeError, InternalServerError, serializeError} from '@atlas-engine/error_provider';\n\nconst internalServerError = new InternalServerError('error!');\nconst basicError = new Error('error!');\nconst untypedError = {message: 'Oh no, where did my type info go!?', code: 666};\n\n// Serializing errors\nconst serializedInternalServerError = serializeError(internalServerError);\nconst serializedBasicError = serializeError(basicError);\nconst serializedUntypedError = serializeError(untypedError);\n\n// Deserializing errors\n// The results should match the errors declared above\nconst deserializedInternalServerError = deserializeError(serializedInternalServerError);\nconst deserializedBasicError = deserializeError(serializedBasicError);\nconst deserializedUntypedError = deserializeError(serializedUntypedError);\n```\n\nUse these, if you cannot be entirely certain that an error will be from `@atlas-engine/error_provider`.\n\n### A note on @essential-projects/errors_ts\n\nSince this package is the continuation of `@essential-projects/errors_ts`, the `deserializeError` and `serializeError` functions are able to handle errors from that package as well.\n\n## Test\n\nYou can run the tests by simply calling:\n\n```bash\nnpm test\n```\n\n## Error Codes\n\nThe Errors are mostly based on [HTTP status codes](https://de.wikipedia.org/wiki/HTTP-Statuscode).\nEvery Error, except for the `BaseError` extends `BaseError`, which in turn extends `Error`.\n\n| Name                               | Code    |\n| ---                                | ---     |\n| BaseError                          |         |\n|                                    |         |\n| **Information Errors**             | **1xx** |\n| ContinueError                      | 100     |\n| SwitchingProtocolsError            | 101     |\n| ProcessingError                    | 102     |\n|                                    |         |\n| **Redirect Errors**                | **3xx** |\n| MultipleChoicesError               | 300     |\n| MovedError                         | 301     |\n| FoundError                         | 302     |\n| SeeOtherError                      | 303     |\n| NotModifiedError                   | 304     |\n| UseProxyError                      | 305     |\n| TemporaryRedirectError             | 307     |\n| PermanentRedirectError             | 308     |\n|                                    |         |\n| **Client Errors**                  | **4xx** |\n| BadRequestError                    | 400     |\n| UnauthorizedError                  | 401     |\n| PaymentRequiredError               | 402     |\n| ForbiddenError                     | 403     |\n| NotFoundError                      | 404     |\n| MethodNotAllowedError              | 405     |\n| NotAcceptableError                 | 406     |\n| ProxyAuthenticationRequiredError   | 407     |\n| RequestTimeoutError                | 408     |\n| ConflictError                      | 409     |\n| GoneError                          | 410     |\n| LengthRequiredError                | 411     |\n| PreconditionFailedError            | 412     |\n| RequestTooLargeError               | 413     |\n| URLTooLongError                    | 414     |\n| UnsupportedMediaTypeError          | 415     |\n| RequestedRangeNotSatisfiableError  | 416     |\n| ExpectationFailedError             | 417     |\n| ImATeapotError                     | 418     |\n| PolicyNotFulfilledError            | 420     |\n| MisdirectredRequestError           | 421     |\n| UnprocessableEntityError           | 422     |\n| LockedError                        | 423     |\n| FailedDependencyError              | 424     |\n| UpgradeRequiredError               | 426     |\n| PreconditionRequiredError          | 428     |\n| TooManyRequestsError               | 429     |\n| RequestHeaderTooLargeError         | 431     |\n| UnavaliableForLegalReasonsError    | 451     |\n|                                    |         |\n| **Server Errors**                  | **5xx** |\n| InternalServerError                | 500     |\n| NotImplementedError                | 501     |\n| BadGatewayError                    | 502     |\n| ServiceUnavaliableError            | 503     |\n| GatewayTimeoutError                | 504     |\n| VersionNotSupportedError           | 505     |\n| InsufficientStorageError           | 507     |\n| LoopDetectedError                  | 508     |\n| BandwithLimitExceededError         | 509     |\n| NetworkAuthenticationRequiredError | 511     |\n","gitHead":"38b53a4a5cbcc3fc87b20cfe57581394e238c7e7","scripts":{"lint":"eslint  src/**/*.ts src/*.ts","test":"mocha -r ts-node/register tests/*.ts","build":"npm run clean && npm run build-commonjs && npm run build-amd","clean":"rm -rf dist","prepare":"npm run build && npm run lint && npm test","lint-fix":"eslint --fix  src/**/*.ts src/*.ts","build-amd":"tsc --module amd --outDir ./dist/amd","build-commonjs":"tsc"},"typings":"dist/index.d.ts","_npmUser":{"name":"process-engine-ci","email":"ci+npm@process-engine.io"},"deprecated":"This package is no longer maintained. Consider upgrading your engine to v13, which no longer uses this package.","repository":{"url":"git+https://github.com/atlas-engine/ErrorProvider.git","type":"git"},"_npmVersion":"6.14.8","description":"Contains a set of technical errors that our protocal adapters can handle.","directories":{},"_nodeVersion":"12.19.0","dependencies":{},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"mocha":"7.2.0","eslint":"6.8.0","should":"13.2.3","ts-node":"8.9.1","typescript":"3.9.3","@types/node":"12.12.36","@types/mocha":"7.0.2","@process-engine/ci_tools":"^3.0.0","@atlas-engine/eslint-config":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/error_provider_1.0.3-alpha.2_1603460888943_0.790359764061842","host":"s3://npm-registry-packages"}},"1.0.3-alpha.3":{"name":"@atlas-engine/error_provider","version":"1.0.3-alpha.3","author":{"name":"5Minds IT-Solutions GmbH & Co. KG"},"license":"MIT","_id":"@atlas-engine/error_provider@1.0.3-alpha.3","maintainers":[{"name":"lukas.huerter","email":"lukas.huerter@5minds.de"},{"name":"fvanbraak","email":"frank.vanbraak@5minds.de"},{"name":"process-engine-ci","email":"ci+npm@process-engine.io"},{"name":"steffen982","email":"Steffenknaup@hotmail.de"},{"name":"rrrene","email":"rf@bamaru.de"},{"name":"alexanderkasten","email":"alexander.kasten@5minds.de"},{"name":"moellenbeck","email":"martin.moellenbeck@5minds.de"},{"name":"obivarg","email":"christian.werner@5minds.de"}],"homepage":"https://github.com/atlas-engine/ErrorProvider#readme","bugs":{"url":"https://github.com/atlas-engine/ErrorProvider/issues"},"dist":{"shasum":"f00308ffb666899fc4631610c4c5155b887c8615","tarball":"https://registry.npmjs.org/@atlas-engine/error_provider/-/error_provider-1.0.3-alpha.3.tgz","fileCount":309,"integrity":"sha512-0ZaarovxH3yxqcYqUAm/RMwfw330SNtfQ/8HK8EFS6UJOX3jwDZVgqIaYqouD/Zw7dMEoMgLSm0Doz6AesWA7A==","signatures":[{"sig":"MEQCIFTnenPTB2E+TAv0kXl7BUh9UOJsojk4T8AkYMIoOtSHAiBNidR9SBDuAj1VxDcgbagFC51m+bOi+kj83NDha87dyg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":177282,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfkuUVCRA9TVsSAnZWagAAMnsQAIBTN25Aspij6UgoqPkQ\nyn8gobp2AiUaRG9GRXviDaVWowPqAifMZ2Q7qaH862eb2q5pM7NGnFDc/Fju\nhP2xJnPgIjjuHRhF7wuEX3FDRIEHkxzik7Rrc2GePY1H3fwUlUnfukeJTSXY\nRcEkw917z6Ev/+4MTwG6EUCdvf+P90Pe2khq2TqHUs2z8MueSHxAMAixs8u+\nBWeMbGj48CWwYQePztbucU28414CSuOIdWRwfrfACfzhdZ+hpeO7JgaJXGik\nELJD1SLDL1Gin+1tYylg7jYgyU5UVbGJLqWfymlL5SuXEwk9vy5+4Saqrs2v\nlxh8xGMVMifjoQLmK5S4uBnWbi6qTdRL/7C9ZCdhIVMzMpKLL7ncwACccUeK\nmf473wug21z+4zY5+fkTpLIApReHIVgN9Atk5PBmn5hhB07DCDXoFiIDHMt1\n/k9tVJhDN4eOXYAD84XLg9aSwtI8joPQjYdW2omyJAAWH9vf395Zw33YBubK\nZUVEXtFW+pEUG3ZE78ttzUpuXo9unmdSxdwGpY69gNGAPf5asEg+JQITLmM6\ntAwTNtSoshInr2IY9iFifRUsJlSjDcm/SjVOeKdntATmsZLRyFZbaorUvfCI\nZUejGJhxL/ClbdpliBl7xgoClB07fPcTLywCLUT7SU6MfJOhhDO2T+slTJ8U\n+jnQ\r\n=s0WV\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/commonjs/index.js","readme":"# ErrorProvider\n\nA technical error provider.\n\nThe errors are based on HTTP, but can be used anywhere else as well.\nThis is also the set of errors that the AtlasEngine uses internally.\n\n## Usage\n\nInstallation:\n\n```sh\nnpm install --save @atlas-engine/error_provider\n```\n\nUsage in NodeJS:\n\n```js\nconst ERRORNAME = require('@atlas-engine/error_provider').ERRORNAME;\n// or\nconst {ERRORNAME1, ERRORNAME2, ERRORNAME3} = require('@atlas-engine/error_provider');\n\nconst error = new ERRORNAME('fancy error message');\n```\n\nUsage in TypeScript:\n\n```ts\nimport * as Errors from '@atlas-engine/error_provider';\n// or\nimport {ERRORNAME1, ERRORNAME2, ERRORNAME3} from '@atlas-engine/error_provider';\n\nconst error = new Errors.ERRORNAME('fancy error message');\nconst anotherError = new ERRORNAME1('fancy error message');\n```\n\nWhere `ERRORNAME` is the error you want to import.\n\nAll errors from this package have the `isAtlasEngineError`-property, so that they can be easily recognized as such.\n\n## Serialization and Deserialization\n\nThere are two ways to serialize/deserialize the errors:\n\n### Direct serialization\n\n**Serialization:**\n\nEach error has a `serialize` function which creates a string representation of the error object.\n\nFor example:\n\n```ts\nimport {InternalServerError} from '@atlas-engine/error_provider';\n\nconst error = new InternalServerError('error!');\nconst serializedError = error.serialize();\n```\n\n**Deserialization:**\n\nThe `BaseError` class provides a static `deserialize` function, which accepts a string argument.\nIt tries to parse the string into a corresponding `AtlasEngine` error and returns the result.\n\nFor example:\n\n```ts\nimport {BaseError} from '@atlas-engine/error_provider';\n\nconst serializedError = '{\"errorClassName\":\"InternalServerError\",\"code\":500,\"message\":\"Process was terminated!\",\"callStack\":\"InternalServerError: Process was terminated!\\n    at <InsertStackHere>\"}';\nconst error = BaseError.deserialize();\n```\n\n**Note:**\nThe function will throw an error, if the given string does not properly represent an AtlasEngine error!\n\n### Serializer functions\n\nWe also provide a global `serialize` and `deserialize` function, which work independently from any internal errors.\n\nUnlike the serializer functions attached to `BaseError`, these functions are also able to handle base `Error` objects and even plain JSONs.\n\nExample:\n\n```ts\nimport {deserializeError, InternalServerError, serializeError} from '@atlas-engine/error_provider';\n\nconst internalServerError = new InternalServerError('error!');\nconst basicError = new Error('error!');\nconst untypedError = {message: 'Oh no, where did my type info go!?', code: 666};\n\n// Serializing errors\nconst serializedInternalServerError = serializeError(internalServerError);\nconst serializedBasicError = serializeError(basicError);\nconst serializedUntypedError = serializeError(untypedError);\n\n// Deserializing errors\n// The results should match the errors declared above\nconst deserializedInternalServerError = deserializeError(serializedInternalServerError);\nconst deserializedBasicError = deserializeError(serializedBasicError);\nconst deserializedUntypedError = deserializeError(serializedUntypedError);\n```\n\nUse these, if you cannot be entirely certain that an error will be from `@atlas-engine/error_provider`.\n\n### A note on @essential-projects/errors_ts\n\nSince this package is the continuation of `@essential-projects/errors_ts`, the `deserializeError` and `serializeError` functions are able to handle errors from that package as well.\n\n## Test\n\nYou can run the tests by simply calling:\n\n```bash\nnpm test\n```\n\n## Error Codes\n\nThe Errors are mostly based on [HTTP status codes](https://de.wikipedia.org/wiki/HTTP-Statuscode).\nEvery Error, except for the `BaseError` extends `BaseError`, which in turn extends `Error`.\n\n| Name                               | Code    |\n| ---                                | ---     |\n| BaseError                          |         |\n|                                    |         |\n| **Information Errors**             | **1xx** |\n| ContinueError                      | 100     |\n| SwitchingProtocolsError            | 101     |\n| ProcessingError                    | 102     |\n|                                    |         |\n| **Redirect Errors**                | **3xx** |\n| MultipleChoicesError               | 300     |\n| MovedError                         | 301     |\n| FoundError                         | 302     |\n| SeeOtherError                      | 303     |\n| NotModifiedError                   | 304     |\n| UseProxyError                      | 305     |\n| TemporaryRedirectError             | 307     |\n| PermanentRedirectError             | 308     |\n|                                    |         |\n| **Client Errors**                  | **4xx** |\n| BadRequestError                    | 400     |\n| UnauthorizedError                  | 401     |\n| PaymentRequiredError               | 402     |\n| ForbiddenError                     | 403     |\n| NotFoundError                      | 404     |\n| MethodNotAllowedError              | 405     |\n| NotAcceptableError                 | 406     |\n| ProxyAuthenticationRequiredError   | 407     |\n| RequestTimeoutError                | 408     |\n| ConflictError                      | 409     |\n| GoneError                          | 410     |\n| LengthRequiredError                | 411     |\n| PreconditionFailedError            | 412     |\n| RequestTooLargeError               | 413     |\n| URLTooLongError                    | 414     |\n| UnsupportedMediaTypeError          | 415     |\n| RequestedRangeNotSatisfiableError  | 416     |\n| ExpectationFailedError             | 417     |\n| ImATeapotError                     | 418     |\n| PolicyNotFulfilledError            | 420     |\n| MisdirectredRequestError           | 421     |\n| UnprocessableEntityError           | 422     |\n| LockedError                        | 423     |\n| FailedDependencyError              | 424     |\n| UpgradeRequiredError               | 426     |\n| PreconditionRequiredError          | 428     |\n| TooManyRequestsError               | 429     |\n| RequestHeaderTooLargeError         | 431     |\n| UnavaliableForLegalReasonsError    | 451     |\n|                                    |         |\n| **Server Errors**                  | **5xx** |\n| InternalServerError                | 500     |\n| NotImplementedError                | 501     |\n| BadGatewayError                    | 502     |\n| ServiceUnavaliableError            | 503     |\n| GatewayTimeoutError                | 504     |\n| VersionNotSupportedError           | 505     |\n| InsufficientStorageError           | 507     |\n| LoopDetectedError                  | 508     |\n| BandwithLimitExceededError         | 509     |\n| NetworkAuthenticationRequiredError | 511     |\n","gitHead":"6419a701ef453083441530a388f0cdc89b1eb36f","scripts":{"lint":"eslint  src/**/*.ts src/*.ts","test":"mocha -r ts-node/register tests/*.ts","build":"npm run clean && npm run build-commonjs && npm run build-amd","clean":"rm -rf dist","prepare":"npm run build && npm run lint && npm test","lint-fix":"eslint --fix  src/**/*.ts src/*.ts","build-amd":"tsc --module amd --outDir ./dist/amd","build-commonjs":"tsc"},"typings":"dist/index.d.ts","_npmUser":{"name":"process-engine-ci","email":"ci+npm@process-engine.io"},"deprecated":"This package is no longer maintained. Consider upgrading your engine to v13, which no longer uses this package.","repository":{"url":"git+https://github.com/atlas-engine/ErrorProvider.git","type":"git"},"_npmVersion":"6.14.8","description":"Contains a set of technical errors that our protocal adapters can handle.","directories":{},"_nodeVersion":"12.19.0","dependencies":{},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"mocha":"7.2.0","eslint":"6.8.0","should":"13.2.3","ts-node":"8.9.1","typescript":"3.9.3","@types/node":"12.12.36","@types/mocha":"7.0.2","@process-engine/ci_tools":"^3.0.0","@atlas-engine/eslint-config":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/error_provider_1.0.3-alpha.3_1603462420440_0.6427437295064498","host":"s3://npm-registry-packages"}},"1.0.3-beta.2":{"name":"@atlas-engine/error_provider","version":"1.0.3-beta.2","author":{"name":"5Minds IT-Solutions GmbH & Co. KG"},"license":"MIT","_id":"@atlas-engine/error_provider@1.0.3-beta.2","maintainers":[{"name":"lukas.huerter","email":"lukas.huerter@5minds.de"},{"name":"fvanbraak","email":"frank.vanbraak@5minds.de"},{"name":"process-engine-ci","email":"ci+npm@process-engine.io"},{"name":"steffen982","email":"Steffenknaup@hotmail.de"},{"name":"rrrene","email":"rf@bamaru.de"},{"name":"alexanderkasten","email":"alexander.kasten@5minds.de"},{"name":"moellenbeck","email":"martin.moellenbeck@5minds.de"},{"name":"obivarg","email":"christian.werner@5minds.de"}],"homepage":"https://github.com/atlas-engine/ErrorProvider#readme","bugs":{"url":"https://github.com/atlas-engine/ErrorProvider/issues"},"dist":{"shasum":"8f069a2f76273b3e5a527170eb66043978baee1e","tarball":"https://registry.npmjs.org/@atlas-engine/error_provider/-/error_provider-1.0.3-beta.2.tgz","fileCount":309,"integrity":"sha512-H0uu7vDQ19AG51g1rJx2yFzKI5NFFQ+w10laKrp6H/ej3wEx4BgUH0wcsg7ywK5wKm2Yd4pe9F1Nh+wkQqfCxg==","signatures":[{"sig":"MEUCIACgC2WZaE6xsxcEHZvd3DsQHZkKzCDbvt/oqeuI7fU0AiEA8duZ+ZaU7642cLoKuj5P+LZruFv+Ai/4nwI6pB31Fcg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":177281,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfpSKICRA9TVsSAnZWagAAkAQQAIRG7d3MPwG18hhJbHyP\nayQqKGlKivmys/qbG10hwos/B/HKCpVTxvu5aWeTWkI7yvOggUTS+U2blUX9\ny864nzkYFioghjR7YqqxHyp/Mq2RpnkHDZSbj3f5Onm6qvAx3bJhH3ooALJz\n2bGnnQFY0oZKMgPJrnmTOXayg323zD2W6qaMWS8Ncl5fICcIFuf4rsZfAfHS\nFS8ZeHR/VAIMPrd7rZaDYnDPU5RhyQfj8K5hPAfKYgYUuFdVL2gKfpZv+x8M\nuiwyHIydvSZvVNeTW/JDWVDUYsjUCGJ3sZWCWolPw1k3NsmkX2bE0GYKDoYn\nwRvk4ZMpSdpYgy5YW6K9pxeZ8wdWeyqU3Un4zaRCevbaTEMVAwigScl/H3Hy\njedX9rPJz4ZMXky/oyp+8eqorz3kjKdjAQEUGLU+hvmEtXxuyD+kP/4ssd5W\nDZFLEW0Qn2I4+mXMMLqb/9aPKTnZf91gqA1cUh7mTw1YG5MYhLSgpJj+Zy/f\nCQGGOUBkLjnK8gNAD6Hj9DGOIm/NaHE35SqRNOxF1NFOowIukhUKVQFQqPAN\n4wZkITyf6NR92xMLtpDsDHHiwGwKzRUEnskOhFycR9bmyFHvoYzh/hce4Bfh\noIE7cCLN9qN9s1rX/4BsacfiMfJRkr0JpnJsOqHkd1dMWE0Fv59Kw6dEY/J6\nG1cQ\r\n=mUd6\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/commonjs/index.js","readme":"# ErrorProvider\n\nA technical error provider.\n\nThe errors are based on HTTP, but can be used anywhere else as well.\nThis is also the set of errors that the AtlasEngine uses internally.\n\n## Usage\n\nInstallation:\n\n```sh\nnpm install --save @atlas-engine/error_provider\n```\n\nUsage in NodeJS:\n\n```js\nconst ERRORNAME = require('@atlas-engine/error_provider').ERRORNAME;\n// or\nconst {ERRORNAME1, ERRORNAME2, ERRORNAME3} = require('@atlas-engine/error_provider');\n\nconst error = new ERRORNAME('fancy error message');\n```\n\nUsage in TypeScript:\n\n```ts\nimport * as Errors from '@atlas-engine/error_provider';\n// or\nimport {ERRORNAME1, ERRORNAME2, ERRORNAME3} from '@atlas-engine/error_provider';\n\nconst error = new Errors.ERRORNAME('fancy error message');\nconst anotherError = new ERRORNAME1('fancy error message');\n```\n\nWhere `ERRORNAME` is the error you want to import.\n\nAll errors from this package have the `isAtlasEngineError`-property, so that they can be easily recognized as such.\n\n## Serialization and Deserialization\n\nThere are two ways to serialize/deserialize the errors:\n\n### Direct serialization\n\n**Serialization:**\n\nEach error has a `serialize` function which creates a string representation of the error object.\n\nFor example:\n\n```ts\nimport {InternalServerError} from '@atlas-engine/error_provider';\n\nconst error = new InternalServerError('error!');\nconst serializedError = error.serialize();\n```\n\n**Deserialization:**\n\nThe `BaseError` class provides a static `deserialize` function, which accepts a string argument.\nIt tries to parse the string into a corresponding `AtlasEngine` error and returns the result.\n\nFor example:\n\n```ts\nimport {BaseError} from '@atlas-engine/error_provider';\n\nconst serializedError = '{\"errorClassName\":\"InternalServerError\",\"code\":500,\"message\":\"Process was terminated!\",\"callStack\":\"InternalServerError: Process was terminated!\\n    at <InsertStackHere>\"}';\nconst error = BaseError.deserialize();\n```\n\n**Note:**\nThe function will throw an error, if the given string does not properly represent an AtlasEngine error!\n\n### Serializer functions\n\nWe also provide a global `serialize` and `deserialize` function, which work independently from any internal errors.\n\nUnlike the serializer functions attached to `BaseError`, these functions are also able to handle base `Error` objects and even plain JSONs.\n\nExample:\n\n```ts\nimport {deserializeError, InternalServerError, serializeError} from '@atlas-engine/error_provider';\n\nconst internalServerError = new InternalServerError('error!');\nconst basicError = new Error('error!');\nconst untypedError = {message: 'Oh no, where did my type info go!?', code: 666};\n\n// Serializing errors\nconst serializedInternalServerError = serializeError(internalServerError);\nconst serializedBasicError = serializeError(basicError);\nconst serializedUntypedError = serializeError(untypedError);\n\n// Deserializing errors\n// The results should match the errors declared above\nconst deserializedInternalServerError = deserializeError(serializedInternalServerError);\nconst deserializedBasicError = deserializeError(serializedBasicError);\nconst deserializedUntypedError = deserializeError(serializedUntypedError);\n```\n\nUse these, if you cannot be entirely certain that an error will be from `@atlas-engine/error_provider`.\n\n### A note on @essential-projects/errors_ts\n\nSince this package is the continuation of `@essential-projects/errors_ts`, the `deserializeError` and `serializeError` functions are able to handle errors from that package as well.\n\n## Test\n\nYou can run the tests by simply calling:\n\n```bash\nnpm test\n```\n\n## Error Codes\n\nThe Errors are mostly based on [HTTP status codes](https://de.wikipedia.org/wiki/HTTP-Statuscode).\nEvery Error, except for the `BaseError` extends `BaseError`, which in turn extends `Error`.\n\n| Name                               | Code    |\n| ---                                | ---     |\n| BaseError                          |         |\n|                                    |         |\n| **Information Errors**             | **1xx** |\n| ContinueError                      | 100     |\n| SwitchingProtocolsError            | 101     |\n| ProcessingError                    | 102     |\n|                                    |         |\n| **Redirect Errors**                | **3xx** |\n| MultipleChoicesError               | 300     |\n| MovedError                         | 301     |\n| FoundError                         | 302     |\n| SeeOtherError                      | 303     |\n| NotModifiedError                   | 304     |\n| UseProxyError                      | 305     |\n| TemporaryRedirectError             | 307     |\n| PermanentRedirectError             | 308     |\n|                                    |         |\n| **Client Errors**                  | **4xx** |\n| BadRequestError                    | 400     |\n| UnauthorizedError                  | 401     |\n| PaymentRequiredError               | 402     |\n| ForbiddenError                     | 403     |\n| NotFoundError                      | 404     |\n| MethodNotAllowedError              | 405     |\n| NotAcceptableError                 | 406     |\n| ProxyAuthenticationRequiredError   | 407     |\n| RequestTimeoutError                | 408     |\n| ConflictError                      | 409     |\n| GoneError                          | 410     |\n| LengthRequiredError                | 411     |\n| PreconditionFailedError            | 412     |\n| RequestTooLargeError               | 413     |\n| URLTooLongError                    | 414     |\n| UnsupportedMediaTypeError          | 415     |\n| RequestedRangeNotSatisfiableError  | 416     |\n| ExpectationFailedError             | 417     |\n| ImATeapotError                     | 418     |\n| PolicyNotFulfilledError            | 420     |\n| MisdirectredRequestError           | 421     |\n| UnprocessableEntityError           | 422     |\n| LockedError                        | 423     |\n| FailedDependencyError              | 424     |\n| UpgradeRequiredError               | 426     |\n| PreconditionRequiredError          | 428     |\n| TooManyRequestsError               | 429     |\n| RequestHeaderTooLargeError         | 431     |\n| UnavaliableForLegalReasonsError    | 451     |\n|                                    |         |\n| **Server Errors**                  | **5xx** |\n| InternalServerError                | 500     |\n| NotImplementedError                | 501     |\n| BadGatewayError                    | 502     |\n| ServiceUnavaliableError            | 503     |\n| GatewayTimeoutError                | 504     |\n| VersionNotSupportedError           | 505     |\n| InsufficientStorageError           | 507     |\n| LoopDetectedError                  | 508     |\n| BandwithLimitExceededError         | 509     |\n| NetworkAuthenticationRequiredError | 511     |\n","gitHead":"2dc6144c916a68966eb0b835f85efc61263b3d59","scripts":{"lint":"eslint  src/**/*.ts src/*.ts","test":"mocha -r ts-node/register tests/*.ts","build":"npm run clean && npm run build-commonjs && npm run build-amd","clean":"rm -rf dist","prepare":"npm run build && npm run lint && npm test","lint-fix":"eslint --fix  src/**/*.ts src/*.ts","build-amd":"tsc --module amd --outDir ./dist/amd","build-commonjs":"tsc"},"typings":"dist/index.d.ts","_npmUser":{"name":"process-engine-ci","email":"ci+npm@process-engine.io"},"deprecated":"This package is no longer maintained. Consider upgrading your engine to v13, which no longer uses this package.","repository":{"url":"git+https://github.com/atlas-engine/ErrorProvider.git","type":"git"},"_npmVersion":"6.14.8","description":"Contains a set of technical errors that our protocal adapters can handle.","directories":{},"_nodeVersion":"12.19.0","dependencies":{},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"mocha":"7.2.0","eslint":"6.8.0","should":"13.2.3","ts-node":"8.9.1","typescript":"3.9.3","@types/node":"12.12.36","@types/mocha":"7.0.2","@process-engine/ci_tools":"^3.0.0","@atlas-engine/eslint-config":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/error_provider_1.0.3-beta.2_1604657800115_0.24730600958963733","host":"s3://npm-registry-packages"}},"1.0.3-alpha.4":{"name":"@atlas-engine/error_provider","version":"1.0.3-alpha.4","author":{"name":"5Minds IT-Solutions GmbH & Co. KG"},"license":"MIT","_id":"@atlas-engine/error_provider@1.0.3-alpha.4","maintainers":[{"name":"lukas.huerter","email":"lukas.huerter@5minds.de"},{"name":"fvanbraak","email":"frank.vanbraak@5minds.de"},{"name":"process-engine-ci","email":"ci+npm@process-engine.io"},{"name":"steffen982","email":"Steffenknaup@hotmail.de"},{"name":"rrrene","email":"rf@bamaru.de"},{"name":"alexanderkasten","email":"alexander.kasten@5minds.de"},{"name":"moellenbeck","email":"martin.moellenbeck@5minds.de"},{"name":"obivarg","email":"christian.werner@5minds.de"}],"homepage":"https://github.com/atlas-engine/ErrorProvider#readme","bugs":{"url":"https://github.com/atlas-engine/ErrorProvider/issues"},"dist":{"shasum":"823431d41261828d7b918f53080865061038a5ec","tarball":"https://registry.npmjs.org/@atlas-engine/error_provider/-/error_provider-1.0.3-alpha.4.tgz","fileCount":309,"integrity":"sha512-GVKkpPnjEsHrfEm/p5vR3AqQjIHUR8Wo57MKeqcIANwWHzK/hNNIDmRU5m3MluH85c0kw82yz0f8gA54fUrIzw==","signatures":[{"sig":"MEUCIAUOP5qe+10d1r2oKczyZiNyVeNk/5Eq4bnM5w9U0CkcAiEAka0SyvNOdyxk1X3z5lbWDvEkL/7u5Jrzfj3oD7jOeH8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":177282,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfpSKQCRA9TVsSAnZWagAAgYEP/iI2qrFPEnRH4jJzEPEl\nvRpq/6AbZTkSIdLlt77IXml4Q7YN9N8e+dJ4WUSCsF6plWfg1ZiZCbNI0Zx3\n0ThtTlLpKviHy0GongREWjqg7sVpruUe1oJlNHXIIHR2zN1LKZvtxx7i9sMh\nXzdBiR2BH5KQqQxrlYCzmet+If+UlzVF1cieYw3jaCSlShKMVF+3v2BXpUnM\na0rlE8DrFJ1kthcLTrCAcCoy4bVV9SLLNBitx4d1xE9N9VjC4gniTCyj+NeF\nHblUX0dY62kbGfROIAtq3rjZxts4mNiEr0rskHa1XS5/Ip0SuU3rcp4BBU6W\nsxQ3QX77jMI/ezfWkrBsIMo4uMJXA6umHJLOGMDn8ijx4djBne8Wfq9Xwuom\nvTj6qR0akHZrvda2RU6L9sqvLCycq3v059iQ2zQTfInrHMS7JIQ0Y4I/6aAK\nnwnOv33i2SW9oa8HB1bYE6M2/i0NhkQk5nCjOWUrb1Hz1qMuDhUeymBrQaDm\n6Zy77l81dQ5rZmS84CI93zwtPl7arkJfSNEHN6I3qeU7BPu1MSckcaEab2rr\nlVk8xun4J5w9atLvZxTED9xd2Aqa3Qy/InJyrDY9K2r1jzdpeSgJ0b5XWOdV\nKV0tG5sh8JXXANfX+nVmDBa7Y7EgI8uFamY3EMRz0cv4vud6AUVyD8aa+GHw\nuXYd\r\n=uL0l\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/commonjs/index.js","readme":"# ErrorProvider\n\nA technical error provider.\n\nThe errors are based on HTTP, but can be used anywhere else as well.\nThis is also the set of errors that the AtlasEngine uses internally.\n\n## Usage\n\nInstallation:\n\n```sh\nnpm install --save @atlas-engine/error_provider\n```\n\nUsage in NodeJS:\n\n```js\nconst ERRORNAME = require('@atlas-engine/error_provider').ERRORNAME;\n// or\nconst {ERRORNAME1, ERRORNAME2, ERRORNAME3} = require('@atlas-engine/error_provider');\n\nconst error = new ERRORNAME('fancy error message');\n```\n\nUsage in TypeScript:\n\n```ts\nimport * as Errors from '@atlas-engine/error_provider';\n// or\nimport {ERRORNAME1, ERRORNAME2, ERRORNAME3} from '@atlas-engine/error_provider';\n\nconst error = new Errors.ERRORNAME('fancy error message');\nconst anotherError = new ERRORNAME1('fancy error message');\n```\n\nWhere `ERRORNAME` is the error you want to import.\n\nAll errors from this package have the `isAtlasEngineError`-property, so that they can be easily recognized as such.\n\n## Serialization and Deserialization\n\nThere are two ways to serialize/deserialize the errors:\n\n### Direct serialization\n\n**Serialization:**\n\nEach error has a `serialize` function which creates a string representation of the error object.\n\nFor example:\n\n```ts\nimport {InternalServerError} from '@atlas-engine/error_provider';\n\nconst error = new InternalServerError('error!');\nconst serializedError = error.serialize();\n```\n\n**Deserialization:**\n\nThe `BaseError` class provides a static `deserialize` function, which accepts a string argument.\nIt tries to parse the string into a corresponding `AtlasEngine` error and returns the result.\n\nFor example:\n\n```ts\nimport {BaseError} from '@atlas-engine/error_provider';\n\nconst serializedError = '{\"errorClassName\":\"InternalServerError\",\"code\":500,\"message\":\"Process was terminated!\",\"callStack\":\"InternalServerError: Process was terminated!\\n    at <InsertStackHere>\"}';\nconst error = BaseError.deserialize();\n```\n\n**Note:**\nThe function will throw an error, if the given string does not properly represent an AtlasEngine error!\n\n### Serializer functions\n\nWe also provide a global `serialize` and `deserialize` function, which work independently from any internal errors.\n\nUnlike the serializer functions attached to `BaseError`, these functions are also able to handle base `Error` objects and even plain JSONs.\n\nExample:\n\n```ts\nimport {deserializeError, InternalServerError, serializeError} from '@atlas-engine/error_provider';\n\nconst internalServerError = new InternalServerError('error!');\nconst basicError = new Error('error!');\nconst untypedError = {message: 'Oh no, where did my type info go!?', code: 666};\n\n// Serializing errors\nconst serializedInternalServerError = serializeError(internalServerError);\nconst serializedBasicError = serializeError(basicError);\nconst serializedUntypedError = serializeError(untypedError);\n\n// Deserializing errors\n// The results should match the errors declared above\nconst deserializedInternalServerError = deserializeError(serializedInternalServerError);\nconst deserializedBasicError = deserializeError(serializedBasicError);\nconst deserializedUntypedError = deserializeError(serializedUntypedError);\n```\n\nUse these, if you cannot be entirely certain that an error will be from `@atlas-engine/error_provider`.\n\n### A note on @essential-projects/errors_ts\n\nSince this package is the continuation of `@essential-projects/errors_ts`, the `deserializeError` and `serializeError` functions are able to handle errors from that package as well.\n\n## Test\n\nYou can run the tests by simply calling:\n\n```bash\nnpm test\n```\n\n## Error Codes\n\nThe Errors are mostly based on [HTTP status codes](https://de.wikipedia.org/wiki/HTTP-Statuscode).\nEvery Error, except for the `BaseError` extends `BaseError`, which in turn extends `Error`.\n\n| Name                               | Code    |\n| ---                                | ---     |\n| BaseError                          |         |\n|                                    |         |\n| **Information Errors**             | **1xx** |\n| ContinueError                      | 100     |\n| SwitchingProtocolsError            | 101     |\n| ProcessingError                    | 102     |\n|                                    |         |\n| **Redirect Errors**                | **3xx** |\n| MultipleChoicesError               | 300     |\n| MovedError                         | 301     |\n| FoundError                         | 302     |\n| SeeOtherError                      | 303     |\n| NotModifiedError                   | 304     |\n| UseProxyError                      | 305     |\n| TemporaryRedirectError             | 307     |\n| PermanentRedirectError             | 308     |\n|                                    |         |\n| **Client Errors**                  | **4xx** |\n| BadRequestError                    | 400     |\n| UnauthorizedError                  | 401     |\n| PaymentRequiredError               | 402     |\n| ForbiddenError                     | 403     |\n| NotFoundError                      | 404     |\n| MethodNotAllowedError              | 405     |\n| NotAcceptableError                 | 406     |\n| ProxyAuthenticationRequiredError   | 407     |\n| RequestTimeoutError                | 408     |\n| ConflictError                      | 409     |\n| GoneError                          | 410     |\n| LengthRequiredError                | 411     |\n| PreconditionFailedError            | 412     |\n| RequestTooLargeError               | 413     |\n| URLTooLongError                    | 414     |\n| UnsupportedMediaTypeError          | 415     |\n| RequestedRangeNotSatisfiableError  | 416     |\n| ExpectationFailedError             | 417     |\n| ImATeapotError                     | 418     |\n| PolicyNotFulfilledError            | 420     |\n| MisdirectredRequestError           | 421     |\n| UnprocessableEntityError           | 422     |\n| LockedError                        | 423     |\n| FailedDependencyError              | 424     |\n| UpgradeRequiredError               | 426     |\n| PreconditionRequiredError          | 428     |\n| TooManyRequestsError               | 429     |\n| RequestHeaderTooLargeError         | 431     |\n| UnavaliableForLegalReasonsError    | 451     |\n|                                    |         |\n| **Server Errors**                  | **5xx** |\n| InternalServerError                | 500     |\n| NotImplementedError                | 501     |\n| BadGatewayError                    | 502     |\n| ServiceUnavaliableError            | 503     |\n| GatewayTimeoutError                | 504     |\n| VersionNotSupportedError           | 505     |\n| InsufficientStorageError           | 507     |\n| LoopDetectedError                  | 508     |\n| BandwithLimitExceededError         | 509     |\n| NetworkAuthenticationRequiredError | 511     |\n","gitHead":"bda0e81a9c04b155e1ac2215b8ca422aed9c1475","scripts":{"lint":"eslint  src/**/*.ts src/*.ts","test":"mocha -r ts-node/register tests/*.ts","build":"npm run clean && npm run build-commonjs && npm run build-amd","clean":"rm -rf dist","prepare":"npm run build && npm run lint && npm test","lint-fix":"eslint --fix  src/**/*.ts src/*.ts","build-amd":"tsc --module amd --outDir ./dist/amd","build-commonjs":"tsc"},"typings":"dist/index.d.ts","_npmUser":{"name":"process-engine-ci","email":"ci+npm@process-engine.io"},"deprecated":"This package is no longer maintained. Consider upgrading your engine to v13, which no longer uses this package.","repository":{"url":"git+https://github.com/atlas-engine/ErrorProvider.git","type":"git"},"_npmVersion":"6.14.8","description":"Contains a set of technical errors that our protocal adapters can handle.","directories":{},"_nodeVersion":"12.19.0","dependencies":{},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"mocha":"7.2.0","eslint":"6.8.0","should":"13.2.3","ts-node":"8.9.1","typescript":"3.9.3","@types/node":"12.12.36","@types/mocha":"7.0.2","@process-engine/ci_tools":"^3.0.0","@atlas-engine/eslint-config":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/error_provider_1.0.3-alpha.4_1604657807566_0.24745789687154396","host":"s3://npm-registry-packages"}},"1.0.3-beta.3":{"name":"@atlas-engine/error_provider","version":"1.0.3-beta.3","author":{"name":"5Minds IT-Solutions GmbH & Co. KG"},"license":"MIT","_id":"@atlas-engine/error_provider@1.0.3-beta.3","maintainers":[{"name":"lukas.huerter","email":"lukas.huerter@5minds.de"},{"name":"fvanbraak","email":"frank.vanbraak@5minds.de"},{"name":"process-engine-ci","email":"ci+npm@process-engine.io"},{"name":"steffen982","email":"Steffenknaup@hotmail.de"},{"name":"rrrene","email":"rf@bamaru.de"},{"name":"alexanderkasten","email":"alexander.kasten@5minds.de"},{"name":"moellenbeck","email":"martin.moellenbeck@5minds.de"},{"name":"obivarg","email":"christian.werner@5minds.de"}],"homepage":"https://github.com/atlas-engine/ErrorProvider#readme","bugs":{"url":"https://github.com/atlas-engine/ErrorProvider/issues"},"dist":{"shasum":"7000a3ea340cdf7d5d9d6ae71c190615451a12f2","tarball":"https://registry.npmjs.org/@atlas-engine/error_provider/-/error_provider-1.0.3-beta.3.tgz","fileCount":309,"integrity":"sha512-HLovMVH13SpDy3UbcH1T8TwKh6mseOrynIZSneCQ/zCcp1afZTNZgBsW8EeXaw4QBniQTkMqZsIPAC26ec7R+Q==","signatures":[{"sig":"MEQCIAzhffvVC1xuR+uraAWby5/S5MIT+83v+ctzQ9EM9d9NAiB7aPPdikkJ40q2kC+MUEcHzwczfw06QQYzhtxLEqyp+g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":177281,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfq6V8CRA9TVsSAnZWagAAzdwQAJQUJalYdcgP7sFdnlxu\n7kqx2YgHhfrkuaVkHo+JR3HhyjZ4cqqDmjao4nRmJtaHm4uvQPYULwJ2EmwG\ncTNJqvRLL/79knzK5j/35vDzAYJSCkBkkyeQKLuE0W6fo7CncgH5yIdpvlzl\neRU9b+SQLrqgcP5SrZXK7MyDw6eDWkEI/eMdR0xIHFraxUx3SqlBen3Pq34j\n1H0jpExT1v5QjErExA19n6Ibbecxdc5WRQ2+UmITJkxcKRYV4SPnwZ21OR3o\nFwkWoQhFVmz3hMUAyuXVNfiObOGhhAc6hEvkAKk501Ps0XOVr7sQy4go7rTw\nBFxZ+adDbDJLW7eyqk22etxpChb1Oztp9LMYatXw8/YpociZw0lRExkd+fIL\nDzM8QxoNhbvNM5Mg3CAOpewS4F6kPP8enE7OFC2WGIbHLi3cWYIc7BjXJhCK\nteiSo/32IWq6/sQOfS86fXGHadheQa7ZrNcG4tMsY1p38VE/Zfq+63T9vjAM\n6TN+FzmprCoW6vFtUIOsFLAt8jbTJG/wqExwp9HpWQrjNoQkj1Lz6UDaF/sZ\nVV3YgrMAwQTcLcH6YNcdd74rEsn/orY4/tCJ6aT6HrjZ9PSbhdjBDFDHUEth\nwjsTddaDLV9Q8rJlYcgLC12odun7oKlve3DM0xl8TA2U4viO4/ci6BCbJ7aX\nLMSU\r\n=IXLF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/commonjs/index.js","readme":"# ErrorProvider\n\nA technical error provider.\n\nThe errors are based on HTTP, but can be used anywhere else as well.\nThis is also the set of errors that the AtlasEngine uses internally.\n\n## Usage\n\nInstallation:\n\n```sh\nnpm install --save @atlas-engine/error_provider\n```\n\nUsage in NodeJS:\n\n```js\nconst ERRORNAME = require('@atlas-engine/error_provider').ERRORNAME;\n// or\nconst {ERRORNAME1, ERRORNAME2, ERRORNAME3} = require('@atlas-engine/error_provider');\n\nconst error = new ERRORNAME('fancy error message');\n```\n\nUsage in TypeScript:\n\n```ts\nimport * as Errors from '@atlas-engine/error_provider';\n// or\nimport {ERRORNAME1, ERRORNAME2, ERRORNAME3} from '@atlas-engine/error_provider';\n\nconst error = new Errors.ERRORNAME('fancy error message');\nconst anotherError = new ERRORNAME1('fancy error message');\n```\n\nWhere `ERRORNAME` is the error you want to import.\n\nAll errors from this package have the `isAtlasEngineError`-property, so that they can be easily recognized as such.\n\n## Serialization and Deserialization\n\nThere are two ways to serialize/deserialize the errors:\n\n### Direct serialization\n\n**Serialization:**\n\nEach error has a `serialize` function which creates a string representation of the error object.\n\nFor example:\n\n```ts\nimport {InternalServerError} from '@atlas-engine/error_provider';\n\nconst error = new InternalServerError('error!');\nconst serializedError = error.serialize();\n```\n\n**Deserialization:**\n\nThe `BaseError` class provides a static `deserialize` function, which accepts a string argument.\nIt tries to parse the string into a corresponding `AtlasEngine` error and returns the result.\n\nFor example:\n\n```ts\nimport {BaseError} from '@atlas-engine/error_provider';\n\nconst serializedError = '{\"errorClassName\":\"InternalServerError\",\"code\":500,\"message\":\"Process was terminated!\",\"callStack\":\"InternalServerError: Process was terminated!\\n    at <InsertStackHere>\"}';\nconst error = BaseError.deserialize();\n```\n\n**Note:**\nThe function will throw an error, if the given string does not properly represent an AtlasEngine error!\n\n### Serializer functions\n\nWe also provide a global `serialize` and `deserialize` function, which work independently from any internal errors.\n\nUnlike the serializer functions attached to `BaseError`, these functions are also able to handle base `Error` objects and even plain JSONs.\n\nExample:\n\n```ts\nimport {deserializeError, InternalServerError, serializeError} from '@atlas-engine/error_provider';\n\nconst internalServerError = new InternalServerError('error!');\nconst basicError = new Error('error!');\nconst untypedError = {message: 'Oh no, where did my type info go!?', code: 666};\n\n// Serializing errors\nconst serializedInternalServerError = serializeError(internalServerError);\nconst serializedBasicError = serializeError(basicError);\nconst serializedUntypedError = serializeError(untypedError);\n\n// Deserializing errors\n// The results should match the errors declared above\nconst deserializedInternalServerError = deserializeError(serializedInternalServerError);\nconst deserializedBasicError = deserializeError(serializedBasicError);\nconst deserializedUntypedError = deserializeError(serializedUntypedError);\n```\n\nUse these, if you cannot be entirely certain that an error will be from `@atlas-engine/error_provider`.\n\n### A note on @essential-projects/errors_ts\n\nSince this package is the continuation of `@essential-projects/errors_ts`, the `deserializeError` and `serializeError` functions are able to handle errors from that package as well.\n\n## Test\n\nYou can run the tests by simply calling:\n\n```bash\nnpm test\n```\n\n## Error Codes\n\nThe Errors are mostly based on [HTTP status codes](https://de.wikipedia.org/wiki/HTTP-Statuscode).\nEvery Error, except for the `BaseError` extends `BaseError`, which in turn extends `Error`.\n\n| Name                               | Code    |\n| ---                                | ---     |\n| BaseError                          |         |\n|                                    |         |\n| **Information Errors**             | **1xx** |\n| ContinueError                      | 100     |\n| SwitchingProtocolsError            | 101     |\n| ProcessingError                    | 102     |\n|                                    |         |\n| **Redirect Errors**                | **3xx** |\n| MultipleChoicesError               | 300     |\n| MovedError                         | 301     |\n| FoundError                         | 302     |\n| SeeOtherError                      | 303     |\n| NotModifiedError                   | 304     |\n| UseProxyError                      | 305     |\n| TemporaryRedirectError             | 307     |\n| PermanentRedirectError             | 308     |\n|                                    |         |\n| **Client Errors**                  | **4xx** |\n| BadRequestError                    | 400     |\n| UnauthorizedError                  | 401     |\n| PaymentRequiredError               | 402     |\n| ForbiddenError                     | 403     |\n| NotFoundError                      | 404     |\n| MethodNotAllowedError              | 405     |\n| NotAcceptableError                 | 406     |\n| ProxyAuthenticationRequiredError   | 407     |\n| RequestTimeoutError                | 408     |\n| ConflictError                      | 409     |\n| GoneError                          | 410     |\n| LengthRequiredError                | 411     |\n| PreconditionFailedError            | 412     |\n| RequestTooLargeError               | 413     |\n| URLTooLongError                    | 414     |\n| UnsupportedMediaTypeError          | 415     |\n| RequestedRangeNotSatisfiableError  | 416     |\n| ExpectationFailedError             | 417     |\n| ImATeapotError                     | 418     |\n| PolicyNotFulfilledError            | 420     |\n| MisdirectredRequestError           | 421     |\n| UnprocessableEntityError           | 422     |\n| LockedError                        | 423     |\n| FailedDependencyError              | 424     |\n| UpgradeRequiredError               | 426     |\n| PreconditionRequiredError          | 428     |\n| TooManyRequestsError               | 429     |\n| RequestHeaderTooLargeError         | 431     |\n| UnavaliableForLegalReasonsError    | 451     |\n|                                    |         |\n| **Server Errors**                  | **5xx** |\n| InternalServerError                | 500     |\n| NotImplementedError                | 501     |\n| BadGatewayError                    | 502     |\n| ServiceUnavaliableError            | 503     |\n| GatewayTimeoutError                | 504     |\n| VersionNotSupportedError           | 505     |\n| InsufficientStorageError           | 507     |\n| LoopDetectedError                  | 508     |\n| BandwithLimitExceededError         | 509     |\n| NetworkAuthenticationRequiredError | 511     |\n","gitHead":"caed59d802afdf83c79f068f632e482b18c5141d","scripts":{"lint":"eslint  src/**/*.ts src/*.ts","test":"mocha -r ts-node/register tests/*.ts","build":"npm run clean && npm run build-commonjs && npm run build-amd","clean":"rm -rf dist","prepare":"npm run build && npm run lint && npm test","lint-fix":"eslint --fix  src/**/*.ts src/*.ts","build-amd":"tsc --module amd --outDir ./dist/amd","build-commonjs":"tsc"},"typings":"dist/index.d.ts","_npmUser":{"name":"process-engine-ci","email":"ci+npm@process-engine.io"},"deprecated":"This package is no longer maintained. Consider upgrading your engine to v13, which no longer uses this package.","repository":{"url":"git+https://github.com/atlas-engine/ErrorProvider.git","type":"git"},"_npmVersion":"6.14.8","description":"Contains a set of technical errors that our protocal adapters can handle.","directories":{},"_nodeVersion":"12.19.0","dependencies":{},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"mocha":"7.2.0","eslint":"6.8.0","should":"13.2.3","ts-node":"8.9.1","typescript":"3.9.3","@types/node":"12.12.36","@types/mocha":"7.0.2","@process-engine/ci_tools":"^3.0.0","@atlas-engine/eslint-config":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/error_provider_1.0.3-beta.3_1605084540217_0.18158857070059442","host":"s3://npm-registry-packages"}},"1.0.3-alpha.5":{"name":"@atlas-engine/error_provider","version":"1.0.3-alpha.5","author":{"name":"5Minds IT-Solutions GmbH & Co. KG"},"license":"MIT","_id":"@atlas-engine/error_provider@1.0.3-alpha.5","maintainers":[{"name":"lukas.huerter","email":"lukas.huerter@5minds.de"},{"name":"fvanbraak","email":"frank.vanbraak@5minds.de"},{"name":"process-engine-ci","email":"ci+npm@process-engine.io"},{"name":"steffen982","email":"Steffenknaup@hotmail.de"},{"name":"rrrene","email":"rf@bamaru.de"},{"name":"alexanderkasten","email":"alexander.kasten@5minds.de"},{"name":"moellenbeck","email":"martin.moellenbeck@5minds.de"},{"name":"obivarg","email":"christian.werner@5minds.de"}],"homepage":"https://github.com/atlas-engine/ErrorProvider#readme","bugs":{"url":"https://github.com/atlas-engine/ErrorProvider/issues"},"dist":{"shasum":"14f3f24871b03154c49e46baeccf47ee5c6968fc","tarball":"https://registry.npmjs.org/@atlas-engine/error_provider/-/error_provider-1.0.3-alpha.5.tgz","fileCount":309,"integrity":"sha512-wDT54SOMHOntPOauRsL5J54FDupyZZzv+Rm/RzgOAoVSS7U2b+5Grub+5uYzRRYGhR3F9JuxcWf7rcJkxI5TSg==","signatures":[{"sig":"MEUCICQ3O7kDZyj4HiH58WLIRI8wf2e4B1K9WbV1hg3ZjPQRAiEA6+TZNu5QyxD921BuiELQI7OXnH7KEsD37p78VuLQzzw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":177282,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfq6WCCRA9TVsSAnZWagAAK3oP/0juAvF6CJtOZrhjaMmP\ncdhyi20bxaeFpRWm6xkN/4Lpvbw8KoHYjUJDcl4BdsDgU1R0OKHSdnU0AJQt\neEsurK08oF1I79BlSmjrn3RHUX9CY3kx4Dp+xoiSYSd4HmBmrUpO6UEv1vI8\nvdfccC50WV/59dpjZ7koIq3VseJaIqZV7iw+7KNS2aUvUp+4k43hM3H6OEmy\nbZNGX4igjRRMVzqn9BLq1MqAcED6/W4KWomzRoUrEZlmBrlxvurJrJ+jUmps\nUeHlrwHx/xgXGi4vFX/o+60f4EaMJPFROFfELMIYvBeeqtH9D5fHc0yfX/UH\nyx1NiP89LNQZjUQVCXxCsSvii1R+xwrO7ScAR42Yo90lxc0gZQQTwKp0/Tld\nXgagJtQDoO75vZTi+3Y9F78Ajc1kxSIXovMNsHmdUg0MvVPZBejQKbuCucfv\ndxe4hEAoxBXebKKTxncjwKDZ9OKmRNnoWq4PsjwFwJYLaWydcsjJ0dhxiDga\n6NeHBZy5QLMIDO1W1SrfaDF/l8rCHAsF0YPDyQjuHYju6t91e8C2/FW43pMG\nFq27UlwHMj8F3++TLXK6iMxWSnlmZS+hs0arv20WFDXvcfrRb3tra1CqMWjc\nGpHA7Cfe0i+EQl0d9lMD6UZMV3sEpAZkl0D4dXjVQ596sn9j2YEGVJuOfZa1\nCDkH\r\n=UJzT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/commonjs/index.js","readme":"# ErrorProvider\n\nA technical error provider.\n\nThe errors are based on HTTP, but can be used anywhere else as well.\nThis is also the set of errors that the AtlasEngine uses internally.\n\n## Usage\n\nInstallation:\n\n```sh\nnpm install --save @atlas-engine/error_provider\n```\n\nUsage in NodeJS:\n\n```js\nconst ERRORNAME = require('@atlas-engine/error_provider').ERRORNAME;\n// or\nconst {ERRORNAME1, ERRORNAME2, ERRORNAME3} = require('@atlas-engine/error_provider');\n\nconst error = new ERRORNAME('fancy error message');\n```\n\nUsage in TypeScript:\n\n```ts\nimport * as Errors from '@atlas-engine/error_provider';\n// or\nimport {ERRORNAME1, ERRORNAME2, ERRORNAME3} from '@atlas-engine/error_provider';\n\nconst error = new Errors.ERRORNAME('fancy error message');\nconst anotherError = new ERRORNAME1('fancy error message');\n```\n\nWhere `ERRORNAME` is the error you want to import.\n\nAll errors from this package have the `isAtlasEngineError`-property, so that they can be easily recognized as such.\n\n## Serialization and Deserialization\n\nThere are two ways to serialize/deserialize the errors:\n\n### Direct serialization\n\n**Serialization:**\n\nEach error has a `serialize` function which creates a string representation of the error object.\n\nFor example:\n\n```ts\nimport {InternalServerError} from '@atlas-engine/error_provider';\n\nconst error = new InternalServerError('error!');\nconst serializedError = error.serialize();\n```\n\n**Deserialization:**\n\nThe `BaseError` class provides a static `deserialize` function, which accepts a string argument.\nIt tries to parse the string into a corresponding `AtlasEngine` error and returns the result.\n\nFor example:\n\n```ts\nimport {BaseError} from '@atlas-engine/error_provider';\n\nconst serializedError = '{\"errorClassName\":\"InternalServerError\",\"code\":500,\"message\":\"Process was terminated!\",\"callStack\":\"InternalServerError: Process was terminated!\\n    at <InsertStackHere>\"}';\nconst error = BaseError.deserialize();\n```\n\n**Note:**\nThe function will throw an error, if the given string does not properly represent an AtlasEngine error!\n\n### Serializer functions\n\nWe also provide a global `serialize` and `deserialize` function, which work independently from any internal errors.\n\nUnlike the serializer functions attached to `BaseError`, these functions are also able to handle base `Error` objects and even plain JSONs.\n\nExample:\n\n```ts\nimport {deserializeError, InternalServerError, serializeError} from '@atlas-engine/error_provider';\n\nconst internalServerError = new InternalServerError('error!');\nconst basicError = new Error('error!');\nconst untypedError = {message: 'Oh no, where did my type info go!?', code: 666};\n\n// Serializing errors\nconst serializedInternalServerError = serializeError(internalServerError);\nconst serializedBasicError = serializeError(basicError);\nconst serializedUntypedError = serializeError(untypedError);\n\n// Deserializing errors\n// The results should match the errors declared above\nconst deserializedInternalServerError = deserializeError(serializedInternalServerError);\nconst deserializedBasicError = deserializeError(serializedBasicError);\nconst deserializedUntypedError = deserializeError(serializedUntypedError);\n```\n\nUse these, if you cannot be entirely certain that an error will be from `@atlas-engine/error_provider`.\n\n### A note on @essential-projects/errors_ts\n\nSince this package is the continuation of `@essential-projects/errors_ts`, the `deserializeError` and `serializeError` functions are able to handle errors from that package as well.\n\n## Test\n\nYou can run the tests by simply calling:\n\n```bash\nnpm test\n```\n\n## Error Codes\n\nThe Errors are mostly based on [HTTP status codes](https://de.wikipedia.org/wiki/HTTP-Statuscode).\nEvery Error, except for the `BaseError` extends `BaseError`, which in turn extends `Error`.\n\n| Name                               | Code    |\n| ---                                | ---     |\n| BaseError                          |         |\n|                                    |         |\n| **Information Errors**             | **1xx** |\n| ContinueError                      | 100     |\n| SwitchingProtocolsError            | 101     |\n| ProcessingError                    | 102     |\n|                                    |         |\n| **Redirect Errors**                | **3xx** |\n| MultipleChoicesError               | 300     |\n| MovedError                         | 301     |\n| FoundError                         | 302     |\n| SeeOtherError                      | 303     |\n| NotModifiedError                   | 304     |\n| UseProxyError                      | 305     |\n| TemporaryRedirectError             | 307     |\n| PermanentRedirectError             | 308     |\n|                                    |         |\n| **Client Errors**                  | **4xx** |\n| BadRequestError                    | 400     |\n| UnauthorizedError                  | 401     |\n| PaymentRequiredError               | 402     |\n| ForbiddenError                     | 403     |\n| NotFoundError                      | 404     |\n| MethodNotAllowedError              | 405     |\n| NotAcceptableError                 | 406     |\n| ProxyAuthenticationRequiredError   | 407     |\n| RequestTimeoutError                | 408     |\n| ConflictError                      | 409     |\n| GoneError                          | 410     |\n| LengthRequiredError                | 411     |\n| PreconditionFailedError            | 412     |\n| RequestTooLargeError               | 413     |\n| URLTooLongError                    | 414     |\n| UnsupportedMediaTypeError          | 415     |\n| RequestedRangeNotSatisfiableError  | 416     |\n| ExpectationFailedError             | 417     |\n| ImATeapotError                     | 418     |\n| PolicyNotFulfilledError            | 420     |\n| MisdirectredRequestError           | 421     |\n| UnprocessableEntityError           | 422     |\n| LockedError                        | 423     |\n| FailedDependencyError              | 424     |\n| UpgradeRequiredError               | 426     |\n| PreconditionRequiredError          | 428     |\n| TooManyRequestsError               | 429     |\n| RequestHeaderTooLargeError         | 431     |\n| UnavaliableForLegalReasonsError    | 451     |\n|                                    |         |\n| **Server Errors**                  | **5xx** |\n| InternalServerError                | 500     |\n| NotImplementedError                | 501     |\n| BadGatewayError                    | 502     |\n| ServiceUnavaliableError            | 503     |\n| GatewayTimeoutError                | 504     |\n| VersionNotSupportedError           | 505     |\n| InsufficientStorageError           | 507     |\n| LoopDetectedError                  | 508     |\n| BandwithLimitExceededError         | 509     |\n| NetworkAuthenticationRequiredError | 511     |\n","gitHead":"96735dfa91962973f2f2ffdd7c999c02129b88ee","scripts":{"lint":"eslint  src/**/*.ts src/*.ts","test":"mocha -r ts-node/register tests/*.ts","build":"npm run clean && npm run build-commonjs && npm run build-amd","clean":"rm -rf dist","prepare":"npm run build && npm run lint && npm test","lint-fix":"eslint --fix  src/**/*.ts src/*.ts","build-amd":"tsc --module amd --outDir ./dist/amd","build-commonjs":"tsc"},"typings":"dist/index.d.ts","_npmUser":{"name":"process-engine-ci","email":"ci+npm@process-engine.io"},"deprecated":"This package is no longer maintained. Consider upgrading your engine to v13, which no longer uses this package.","repository":{"url":"git+https://github.com/atlas-engine/ErrorProvider.git","type":"git"},"_npmVersion":"6.14.8","description":"Contains a set of technical errors that our protocal adapters can handle.","directories":{},"_nodeVersion":"12.19.0","dependencies":{},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"mocha":"7.2.0","eslint":"6.8.0","should":"13.2.3","ts-node":"8.9.1","typescript":"3.9.3","@types/node":"12.12.36","@types/mocha":"7.0.2","@process-engine/ci_tools":"^3.0.0","@atlas-engine/eslint-config":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/error_provider_1.0.3-alpha.5_1605084546467_0.07984531300048525","host":"s3://npm-registry-packages"}},"1.0.4":{"name":"@atlas-engine/error_provider","version":"1.0.4","author":{"name":"5Minds IT-Solutions GmbH & Co. KG"},"license":"MIT","_id":"@atlas-engine/error_provider@1.0.4","maintainers":[{"name":"lukas.huerter","email":"lukas.huerter@5minds.de"},{"name":"fvanbraak","email":"frank.vanbraak@5minds.de"},{"name":"process-engine-ci","email":"ci+npm@process-engine.io"},{"name":"steffen982","email":"Steffenknaup@hotmail.de"},{"name":"rrrene","email":"rf@bamaru.de"},{"name":"alexanderkasten","email":"alexander.kasten@5minds.de"},{"name":"moellenbeck","email":"martin.moellenbeck@5minds.de"},{"name":"obivarg","email":"christian.werner@5minds.de"}],"homepage":"https://github.com/atlas-engine/ErrorProvider#readme","bugs":{"url":"https://github.com/atlas-engine/ErrorProvider/issues"},"dist":{"shasum":"8b6c2ebb4988b33cf0469de7fe42e7f7aa1a8bc4","tarball":"https://registry.npmjs.org/@atlas-engine/error_provider/-/error_provider-1.0.4.tgz","fileCount":309,"integrity":"sha512-BVqGPPWxoJCjD0ZNHx1tSrUJXov5T7Sj6lnww1eXN/MP935lwmZs96ZQhhRSKvtLN+w1jMh0FViX38M5ugZbBA==","signatures":[{"sig":"MEYCIQCK2ZbBUTJR5VgVfNVp9Gatyld0QuDJyFI77u8ASSY1rwIhAP9y8zVryPYETkMxWfA+D3eI2b/AIYB3bovUWZ/rokV1","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":177274,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfq6jfCRA9TVsSAnZWagAAUcoP/3WhXWX1dVcllJzfX77D\nRDCVpTDe3CyHjvc3LuoRZEhq1/mthD+UAVocgDSEAySL5FUPOdZshZX3+BwA\nPWP7xYmpotgydcwOmwJqvcqf+oNVwOVwgKwfhC3rzfSFb+Y7bjlUnLQUE/oW\nzAHLu9IvGWfW1jtpAgzUpPdTFmdy9yQqcvUpO4w+XzkCy8r3cVnBv9/tsLSJ\ntRC3JmKAUVdMf7pl2JyvUE1ThnpsSDA7S/9llHDLKFCrHVHozVla6KcadmXV\ni/JqkvTkmNoctaz3miJsqkeqJ+09P/54l3n4/UjmedKJriX4YTbENGnODUV4\nu0agP+aDNLP34koLbCNYOvaRg0oezpMGFFLbbVjKuiQdw71UH3JMHRi+h8Nc\n6qHSWtDNSzpYrAyBEF2N0KgZWgU+xqF4AZu/qnasjB/U5OL+gV5EY94aqhdE\n4zjkUvhoCaTVfXwyhLdNvAo3NsGT8rWCO7nDPnWkLwiP8eyaHRVk6RlYe+iG\nZmKYeUe6XFKK0c78HhDqukxnrc35qmjB788/cjA9gSKpKmqaZRoDlGtjQFaj\nedFS+lFfXOJAIsh5VdT0K2waioWOQ5lA3oWLNNDoh7RLzH8o3tN3F9/OOC3V\n1n9uj9yVEXBNvc3bqKNU2pVqQd4oCSeHG72U2SRsitiqPChSFV6y4UrJT7hp\noEd+\r\n=S8Hn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/commonjs/index.js","gitHead":"46cd9011866fbdcb0f553a0a692123428e27ef43","scripts":{"lint":"eslint  src/**/*.ts src/*.ts","test":"mocha -r ts-node/register tests/*.ts","build":"npm run clean && npm run build-commonjs && npm run build-amd","clean":"rm -rf dist","prepare":"npm run build && npm run lint && npm test","lint-fix":"eslint --fix  src/**/*.ts src/*.ts","build-amd":"tsc --module amd --outDir ./dist/amd","build-commonjs":"tsc"},"typings":"dist/index.d.ts","_npmUser":{"name":"process-engine-ci","email":"ci+npm@process-engine.io"},"deprecated":"This package is no longer maintained. Consider upgrading your engine to v13, which no longer uses this package.","repository":{"url":"git+https://github.com/atlas-engine/ErrorProvider.git","type":"git"},"_npmVersion":"6.14.8","description":"Contains a set of technical errors that our protocal adapters can handle.","directories":{},"_nodeVersion":"12.19.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"mocha":"7.2.0","eslint":"6.8.0","should":"13.2.3","ts-node":"8.9.1","typescript":"3.9.3","@types/node":"12.12.36","@types/mocha":"7.0.2","@process-engine/ci_tools":"^3.2.0","@atlas-engine/eslint-config":"^1.0.5"},"_npmOperationalInternal":{"tmp":"tmp/error_provider_1.0.4_1605085407367_0.2457215738039873","host":"s3://npm-registry-packages"}},"1.0.4-beta.1":{"name":"@atlas-engine/error_provider","version":"1.0.4-beta.1","author":{"name":"5Minds IT-Solutions GmbH & Co. KG"},"license":"MIT","_id":"@atlas-engine/error_provider@1.0.4-beta.1","maintainers":[{"name":"lukas.huerter","email":"lukas.huerter@5minds.de"},{"name":"fvanbraak","email":"frank.vanbraak@5minds.de"},{"name":"process-engine-ci","email":"ci+npm@process-engine.io"},{"name":"steffen982","email":"Steffenknaup@hotmail.de"},{"name":"rrrene","email":"rf@bamaru.de"},{"name":"alexanderkasten","email":"alexander.kasten@5minds.de"},{"name":"moellenbeck","email":"martin.moellenbeck@5minds.de"},{"name":"obivarg","email":"christian.werner@5minds.de"}],"homepage":"https://github.com/atlas-engine/ErrorProvider#readme","bugs":{"url":"https://github.com/atlas-engine/ErrorProvider/issues"},"dist":{"shasum":"b24ac8d01c00dcb8e693a8e8270951a94d29e033","tarball":"https://registry.npmjs.org/@atlas-engine/error_provider/-/error_provider-1.0.4-beta.1.tgz","fileCount":309,"integrity":"sha512-X0UA46yPxJILUe+xCHcbgbls7L73tn36abzjyPFeY1D2tjpF8FlKkAF4Q/V+UQ2S9ObZ38shQLwhKfd+cfMDxQ==","signatures":[{"sig":"MEUCIQCqxDdaqZ2y7SUEyFWhszr1ftZdnszpQ0cqh1YfaOxw4QIgae70T0RYft1QxxA26A3XKNvQ2z/MRXsG0P9CzSpBzzw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":177281,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfq6k0CRA9TVsSAnZWagAAXY8QAIFJP5FoX7pFncDnCw2U\nvPY2Be+tjeOX+ZQ79dTXV3i3P0Q5cWf6aMdN8EE3l/VcX8n5u7Uswa/R7gaO\nintgj4YOftQS9maT2jdxmeabL0mXZPQ2fexS/hnGCOgBTWaoH6OK4bKYtoZr\njxm3BkGePkISSLZRFz9IGzQhPPYokvPcg+TZdGhoq0nLKS7GPbnOOqXiztqd\nOWhd/5EDYmuqnwSq0eGcuEB8iTA6cWKZ1T8mCL0No8U77Vk4HszM/bqE0rQF\nNBRloxPVvtdTwwprWSV1ZWR10DydZIkdXPwQ8D6ReZfohd7QIrmVfUzSM5XB\n73fhYrR6qyzJGJr4cy1uEgrWp4K7pstYKWDLW0iJh4dRx/5ZZ/SEsHJTaFg/\nrMXsFID2Tr83kwF63ewAkbU8lCvyGa1dtl60TwHtY5VzPcP8xMTg9Ot+GrwC\naeIDsKFm9zYKdivl2YJRC3XrojMCKRmXXu7sUNplFoSZ1/VXrCy8f6MyKnkW\nWSRx3ZIjnIcWdNORSoQFwG5pcZClj4VHVylbSm0lsmNSr14b4Pg4nuAvcwIl\nfRBLn2Z4d25cAwc2vhdbgA1AY6cZWOdW2zhkiRP7U1u5wql0f7ijX4Y9DsiC\n8Mw3MGb5HLdzd41o0y9cPB6+mwSu0Iyi+6SeV/ITgV4lGkY9NW6HEe1p4O+N\nS8w1\r\n=8cWP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/commonjs/index.js","readme":"# ErrorProvider\n\nA technical error provider.\n\nThe errors are based on HTTP, but can be used anywhere else as well.\nThis is also the set of errors that the AtlasEngine uses internally.\n\n## Usage\n\nInstallation:\n\n```sh\nnpm install --save @atlas-engine/error_provider\n```\n\nUsage in NodeJS:\n\n```js\nconst ERRORNAME = require('@atlas-engine/error_provider').ERRORNAME;\n// or\nconst {ERRORNAME1, ERRORNAME2, ERRORNAME3} = require('@atlas-engine/error_provider');\n\nconst error = new ERRORNAME('fancy error message');\n```\n\nUsage in TypeScript:\n\n```ts\nimport * as Errors from '@atlas-engine/error_provider';\n// or\nimport {ERRORNAME1, ERRORNAME2, ERRORNAME3} from '@atlas-engine/error_provider';\n\nconst error = new Errors.ERRORNAME('fancy error message');\nconst anotherError = new ERRORNAME1('fancy error message');\n```\n\nWhere `ERRORNAME` is the error you want to import.\n\nAll errors from this package have the `isAtlasEngineError`-property, so that they can be easily recognized as such.\n\n## Serialization and Deserialization\n\nThere are two ways to serialize/deserialize the errors:\n\n### Direct serialization\n\n**Serialization:**\n\nEach error has a `serialize` function which creates a string representation of the error object.\n\nFor example:\n\n```ts\nimport {InternalServerError} from '@atlas-engine/error_provider';\n\nconst error = new InternalServerError('error!');\nconst serializedError = error.serialize();\n```\n\n**Deserialization:**\n\nThe `BaseError` class provides a static `deserialize` function, which accepts a string argument.\nIt tries to parse the string into a corresponding `AtlasEngine` error and returns the result.\n\nFor example:\n\n```ts\nimport {BaseError} from '@atlas-engine/error_provider';\n\nconst serializedError = '{\"errorClassName\":\"InternalServerError\",\"code\":500,\"message\":\"Process was terminated!\",\"callStack\":\"InternalServerError: Process was terminated!\\n    at <InsertStackHere>\"}';\nconst error = BaseError.deserialize();\n```\n\n**Note:**\nThe function will throw an error, if the given string does not properly represent an AtlasEngine error!\n\n### Serializer functions\n\nWe also provide a global `serialize` and `deserialize` function, which work independently from any internal errors.\n\nUnlike the serializer functions attached to `BaseError`, these functions are also able to handle base `Error` objects and even plain JSONs.\n\nExample:\n\n```ts\nimport {deserializeError, InternalServerError, serializeError} from '@atlas-engine/error_provider';\n\nconst internalServerError = new InternalServerError('error!');\nconst basicError = new Error('error!');\nconst untypedError = {message: 'Oh no, where did my type info go!?', code: 666};\n\n// Serializing errors\nconst serializedInternalServerError = serializeError(internalServerError);\nconst serializedBasicError = serializeError(basicError);\nconst serializedUntypedError = serializeError(untypedError);\n\n// Deserializing errors\n// The results should match the errors declared above\nconst deserializedInternalServerError = deserializeError(serializedInternalServerError);\nconst deserializedBasicError = deserializeError(serializedBasicError);\nconst deserializedUntypedError = deserializeError(serializedUntypedError);\n```\n\nUse these, if you cannot be entirely certain that an error will be from `@atlas-engine/error_provider`.\n\n### A note on @essential-projects/errors_ts\n\nSince this package is the continuation of `@essential-projects/errors_ts`, the `deserializeError` and `serializeError` functions are able to handle errors from that package as well.\n\n## Test\n\nYou can run the tests by simply calling:\n\n```bash\nnpm test\n```\n\n## Error Codes\n\nThe Errors are mostly based on [HTTP status codes](https://de.wikipedia.org/wiki/HTTP-Statuscode).\nEvery Error, except for the `BaseError` extends `BaseError`, which in turn extends `Error`.\n\n| Name                               | Code    |\n| ---                                | ---     |\n| BaseError                          |         |\n|                                    |         |\n| **Information Errors**             | **1xx** |\n| ContinueError                      | 100     |\n| SwitchingProtocolsError            | 101     |\n| ProcessingError                    | 102     |\n|                                    |         |\n| **Redirect Errors**                | **3xx** |\n| MultipleChoicesError               | 300     |\n| MovedError                         | 301     |\n| FoundError                         | 302     |\n| SeeOtherError                      | 303     |\n| NotModifiedError                   | 304     |\n| UseProxyError                      | 305     |\n| TemporaryRedirectError             | 307     |\n| PermanentRedirectError             | 308     |\n|                                    |         |\n| **Client Errors**                  | **4xx** |\n| BadRequestError                    | 400     |\n| UnauthorizedError                  | 401     |\n| PaymentRequiredError               | 402     |\n| ForbiddenError                     | 403     |\n| NotFoundError                      | 404     |\n| MethodNotAllowedError              | 405     |\n| NotAcceptableError                 | 406     |\n| ProxyAuthenticationRequiredError   | 407     |\n| RequestTimeoutError                | 408     |\n| ConflictError                      | 409     |\n| GoneError                          | 410     |\n| LengthRequiredError                | 411     |\n| PreconditionFailedError            | 412     |\n| RequestTooLargeError               | 413     |\n| URLTooLongError                    | 414     |\n| UnsupportedMediaTypeError          | 415     |\n| RequestedRangeNotSatisfiableError  | 416     |\n| ExpectationFailedError             | 417     |\n| ImATeapotError                     | 418     |\n| PolicyNotFulfilledError            | 420     |\n| MisdirectredRequestError           | 421     |\n| UnprocessableEntityError           | 422     |\n| LockedError                        | 423     |\n| FailedDependencyError              | 424     |\n| UpgradeRequiredError               | 426     |\n| PreconditionRequiredError          | 428     |\n| TooManyRequestsError               | 429     |\n| RequestHeaderTooLargeError         | 431     |\n| UnavaliableForLegalReasonsError    | 451     |\n|                                    |         |\n| **Server Errors**                  | **5xx** |\n| InternalServerError                | 500     |\n| NotImplementedError                | 501     |\n| BadGatewayError                    | 502     |\n| ServiceUnavaliableError            | 503     |\n| GatewayTimeoutError                | 504     |\n| VersionNotSupportedError           | 505     |\n| InsufficientStorageError           | 507     |\n| LoopDetectedError                  | 508     |\n| BandwithLimitExceededError         | 509     |\n| NetworkAuthenticationRequiredError | 511     |\n","gitHead":"0405bf8430a1403e0f1b65e6015f3d573c694bde","scripts":{"lint":"eslint  src/**/*.ts src/*.ts","test":"mocha -r ts-node/register tests/*.ts","build":"npm run clean && npm run build-commonjs && npm run build-amd","clean":"rm -rf dist","prepare":"npm run build && npm run lint && npm test","lint-fix":"eslint --fix  src/**/*.ts src/*.ts","build-amd":"tsc --module amd --outDir ./dist/amd","build-commonjs":"tsc"},"typings":"dist/index.d.ts","_npmUser":{"name":"process-engine-ci","email":"ci+npm@process-engine.io"},"deprecated":"This package is no longer maintained. Consider upgrading your engine to v13, which no longer uses this package.","repository":{"url":"git+https://github.com/atlas-engine/ErrorProvider.git","type":"git"},"_npmVersion":"6.14.8","description":"Contains a set of technical errors that our protocal adapters can handle.","directories":{},"_nodeVersion":"12.19.0","dependencies":{},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"mocha":"7.2.0","eslint":"6.8.0","should":"13.2.3","ts-node":"8.9.1","typescript":"3.9.3","@types/node":"12.12.36","@types/mocha":"7.0.2","@process-engine/ci_tools":"^3.2.0","@atlas-engine/eslint-config":"^1.0.5"},"_npmOperationalInternal":{"tmp":"tmp/error_provider_1.0.4-beta.1_1605085484944_0.4276232593649558","host":"s3://npm-registry-packages"}},"1.0.4-alpha.1":{"name":"@atlas-engine/error_provider","version":"1.0.4-alpha.1","author":{"name":"5Minds IT-Solutions GmbH & Co. KG"},"license":"MIT","_id":"@atlas-engine/error_provider@1.0.4-alpha.1","maintainers":[{"name":"lukas.huerter","email":"lukas.huerter@5minds.de"},{"name":"fvanbraak","email":"frank.vanbraak@5minds.de"},{"name":"process-engine-ci","email":"ci+npm@process-engine.io"},{"name":"steffen982","email":"Steffenknaup@hotmail.de"},{"name":"rrrene","email":"rf@bamaru.de"},{"name":"alexanderkasten","email":"alexander.kasten@5minds.de"},{"name":"moellenbeck","email":"martin.moellenbeck@5minds.de"},{"name":"obivarg","email":"christian.werner@5minds.de"}],"homepage":"https://github.com/atlas-engine/ErrorProvider#readme","bugs":{"url":"https://github.com/atlas-engine/ErrorProvider/issues"},"dist":{"shasum":"ddfe9ec5c529facad72bf2e2b5db0bc98c88e476","tarball":"https://registry.npmjs.org/@atlas-engine/error_provider/-/error_provider-1.0.4-alpha.1.tgz","fileCount":309,"integrity":"sha512-QzTON37TY4yVErHni+YFGQ3xWZHcKhjSmITiCGCfHlck24wiC56qrrSQJomXF8st04vuHwHuJC81sxB2wuJhJg==","signatures":[{"sig":"MEQCIE2sJGuPBERxWsHWBweSK2QMLsdxOe4yG3ZIFkSF7uBGAiBuR9X/kpbUCkW2/KBBnFrJ+r9L64Y7DfCKteD69S+OhA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":177282,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfq6lPCRA9TVsSAnZWagAAlJwP+wah8Gvpk70h4tGxGF4E\nL6UxnK2CqkYLABlm7VcGH+RtqHDej5yYs+1/59wCJ21wj9c7/0VaR1I2NZDi\nRd0/SLBUG32HVc39IE6Mu6SXssHVrcmSIZipkI60oLuPVhgHLgbzPeMuuC8L\nc8/yMPm/Mc3jxxhsvROTf/H2kgxPwdBA9RTN6RT4m8LM5IaZyc+ZSpB05v9+\nmJNRTVNSd4tRTKhpS8VqYW5iZK/He1YoJLHUtcmTVSDwWDNhqZhkxjsKzm0f\n38GIjrrPgmmRDtZUiBMSYv2TNTGEP7Ayu0wu1B7u5FlMBkbPC81InU2nFlNz\no9AI8sC5tMYP1AXnH4xAxPcbjeUCEmf65hUjvQiL0mMBk9e66PVbChRDeUsG\ns4wFf9frCScDsKZ/S8Ycv4rWfiJ1HeSxNQYIJO47GI4e5sLnbHLl/37YkU2E\nXH0KEBtQHEEGGxwZgsL5gcRvFnKak2P8Y4+YOUzrA5PEIGt/TceFk+a4UcmJ\n8CPeSWTiQm+uhi3uE0XCml64MC9SbF5WNBEhWmSbWd5G8/VHNqaGc8W4Culs\nLyUpol8w/FLb+lTiY08/+kqmytjM9NpWNiwrOfKQr/A0cr17qZALjq5hqdX0\nMD2pw78dk0YA7eBLIE3PukIPXoPkbCErhPjkG3dxYkb5EEKlQGww/slAk9aD\n/fKf\r\n=dE2J\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/commonjs/index.js","readme":"# ErrorProvider\n\nA technical error provider.\n\nThe errors are based on HTTP, but can be used anywhere else as well.\nThis is also the set of errors that the AtlasEngine uses internally.\n\n## Usage\n\nInstallation:\n\n```sh\nnpm install --save @atlas-engine/error_provider\n```\n\nUsage in NodeJS:\n\n```js\nconst ERRORNAME = require('@atlas-engine/error_provider').ERRORNAME;\n// or\nconst {ERRORNAME1, ERRORNAME2, ERRORNAME3} = require('@atlas-engine/error_provider');\n\nconst error = new ERRORNAME('fancy error message');\n```\n\nUsage in TypeScript:\n\n```ts\nimport * as Errors from '@atlas-engine/error_provider';\n// or\nimport {ERRORNAME1, ERRORNAME2, ERRORNAME3} from '@atlas-engine/error_provider';\n\nconst error = new Errors.ERRORNAME('fancy error message');\nconst anotherError = new ERRORNAME1('fancy error message');\n```\n\nWhere `ERRORNAME` is the error you want to import.\n\nAll errors from this package have the `isAtlasEngineError`-property, so that they can be easily recognized as such.\n\n## Serialization and Deserialization\n\nThere are two ways to serialize/deserialize the errors:\n\n### Direct serialization\n\n**Serialization:**\n\nEach error has a `serialize` function which creates a string representation of the error object.\n\nFor example:\n\n```ts\nimport {InternalServerError} from '@atlas-engine/error_provider';\n\nconst error = new InternalServerError('error!');\nconst serializedError = error.serialize();\n```\n\n**Deserialization:**\n\nThe `BaseError` class provides a static `deserialize` function, which accepts a string argument.\nIt tries to parse the string into a corresponding `AtlasEngine` error and returns the result.\n\nFor example:\n\n```ts\nimport {BaseError} from '@atlas-engine/error_provider';\n\nconst serializedError = '{\"errorClassName\":\"InternalServerError\",\"code\":500,\"message\":\"Process was terminated!\",\"callStack\":\"InternalServerError: Process was terminated!\\n    at <InsertStackHere>\"}';\nconst error = BaseError.deserialize();\n```\n\n**Note:**\nThe function will throw an error, if the given string does not properly represent an AtlasEngine error!\n\n### Serializer functions\n\nWe also provide a global `serialize` and `deserialize` function, which work independently from any internal errors.\n\nUnlike the serializer functions attached to `BaseError`, these functions are also able to handle base `Error` objects and even plain JSONs.\n\nExample:\n\n```ts\nimport {deserializeError, InternalServerError, serializeError} from '@atlas-engine/error_provider';\n\nconst internalServerError = new InternalServerError('error!');\nconst basicError = new Error('error!');\nconst untypedError = {message: 'Oh no, where did my type info go!?', code: 666};\n\n// Serializing errors\nconst serializedInternalServerError = serializeError(internalServerError);\nconst serializedBasicError = serializeError(basicError);\nconst serializedUntypedError = serializeError(untypedError);\n\n// Deserializing errors\n// The results should match the errors declared above\nconst deserializedInternalServerError = deserializeError(serializedInternalServerError);\nconst deserializedBasicError = deserializeError(serializedBasicError);\nconst deserializedUntypedError = deserializeError(serializedUntypedError);\n```\n\nUse these, if you cannot be entirely certain that an error will be from `@atlas-engine/error_provider`.\n\n### A note on @essential-projects/errors_ts\n\nSince this package is the continuation of `@essential-projects/errors_ts`, the `deserializeError` and `serializeError` functions are able to handle errors from that package as well.\n\n## Test\n\nYou can run the tests by simply calling:\n\n```bash\nnpm test\n```\n\n## Error Codes\n\nThe Errors are mostly based on [HTTP status codes](https://de.wikipedia.org/wiki/HTTP-Statuscode).\nEvery Error, except for the `BaseError` extends `BaseError`, which in turn extends `Error`.\n\n| Name                               | Code    |\n| ---                                | ---     |\n| BaseError                          |         |\n|                                    |         |\n| **Information Errors**             | **1xx** |\n| ContinueError                      | 100     |\n| SwitchingProtocolsError            | 101     |\n| ProcessingError                    | 102     |\n|                                    |         |\n| **Redirect Errors**                | **3xx** |\n| MultipleChoicesError               | 300     |\n| MovedError                         | 301     |\n| FoundError                         | 302     |\n| SeeOtherError                      | 303     |\n| NotModifiedError                   | 304     |\n| UseProxyError                      | 305     |\n| TemporaryRedirectError             | 307     |\n| PermanentRedirectError             | 308     |\n|                                    |         |\n| **Client Errors**                  | **4xx** |\n| BadRequestError                    | 400     |\n| UnauthorizedError                  | 401     |\n| PaymentRequiredError               | 402     |\n| ForbiddenError                     | 403     |\n| NotFoundError                      | 404     |\n| MethodNotAllowedError              | 405     |\n| NotAcceptableError                 | 406     |\n| ProxyAuthenticationRequiredError   | 407     |\n| RequestTimeoutError                | 408     |\n| ConflictError                      | 409     |\n| GoneError                          | 410     |\n| LengthRequiredError                | 411     |\n| PreconditionFailedError            | 412     |\n| RequestTooLargeError               | 413     |\n| URLTooLongError                    | 414     |\n| UnsupportedMediaTypeError          | 415     |\n| RequestedRangeNotSatisfiableError  | 416     |\n| ExpectationFailedError             | 417     |\n| ImATeapotError                     | 418     |\n| PolicyNotFulfilledError            | 420     |\n| MisdirectredRequestError           | 421     |\n| UnprocessableEntityError           | 422     |\n| LockedError                        | 423     |\n| FailedDependencyError              | 424     |\n| UpgradeRequiredError               | 426     |\n| PreconditionRequiredError          | 428     |\n| TooManyRequestsError               | 429     |\n| RequestHeaderTooLargeError         | 431     |\n| UnavaliableForLegalReasonsError    | 451     |\n|                                    |         |\n| **Server Errors**                  | **5xx** |\n| InternalServerError                | 500     |\n| NotImplementedError                | 501     |\n| BadGatewayError                    | 502     |\n| ServiceUnavaliableError            | 503     |\n| GatewayTimeoutError                | 504     |\n| VersionNotSupportedError           | 505     |\n| InsufficientStorageError           | 507     |\n| LoopDetectedError                  | 508     |\n| BandwithLimitExceededError         | 509     |\n| NetworkAuthenticationRequiredError | 511     |\n","gitHead":"eadde7d2d4db1a464e783bc9983b5840e4cdf3a6","scripts":{"lint":"eslint  src/**/*.ts src/*.ts","test":"mocha -r ts-node/register tests/*.ts","build":"npm run clean && npm run build-commonjs && npm run build-amd","clean":"rm -rf dist","prepare":"npm run build && npm run lint && npm test","lint-fix":"eslint --fix  src/**/*.ts src/*.ts","build-amd":"tsc --module amd --outDir ./dist/amd","build-commonjs":"tsc"},"typings":"dist/index.d.ts","_npmUser":{"name":"process-engine-ci","email":"ci+npm@process-engine.io"},"deprecated":"This package is no longer maintained. Consider upgrading your engine to v13, which no longer uses this package.","repository":{"url":"git+https://github.com/atlas-engine/ErrorProvider.git","type":"git"},"_npmVersion":"6.14.8","description":"Contains a set of technical errors that our protocal adapters can handle.","directories":{},"_nodeVersion":"12.19.0","dependencies":{},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"mocha":"7.2.0","eslint":"6.8.0","should":"13.2.3","ts-node":"8.9.1","typescript":"3.9.3","@types/node":"12.12.36","@types/mocha":"7.0.2","@process-engine/ci_tools":"^3.2.0","@atlas-engine/eslint-config":"^1.0.5"},"_npmOperationalInternal":{"tmp":"tmp/error_provider_1.0.4-alpha.1_1605085512209_0.7682736943899395","host":"s3://npm-registry-packages"}},"1.0.4-beta.2":{"name":"@atlas-engine/error_provider","version":"1.0.4-beta.2","author":{"name":"5Minds IT-Solutions GmbH & Co. KG"},"license":"MIT","_id":"@atlas-engine/error_provider@1.0.4-beta.2","maintainers":[{"name":"lukas.huerter","email":"lukas.huerter@5minds.de"},{"name":"fvanbraak","email":"frank.vanbraak@5minds.de"},{"name":"process-engine-ci","email":"ci+npm@process-engine.io"},{"name":"steffen982","email":"Steffenknaup@hotmail.de"},{"name":"rrrene","email":"rf@bamaru.de"},{"name":"alexanderkasten","email":"alexander.kasten@5minds.de"},{"name":"moellenbeck","email":"martin.moellenbeck@5minds.de"},{"name":"obivarg","email":"christian.werner@5minds.de"}],"homepage":"https://github.com/atlas-engine/ErrorProvider#readme","bugs":{"url":"https://github.com/atlas-engine/ErrorProvider/issues"},"dist":{"shasum":"cb84582c380220a669e36998cda975905a1b8b43","tarball":"https://registry.npmjs.org/@atlas-engine/error_provider/-/error_provider-1.0.4-beta.2.tgz","fileCount":309,"integrity":"sha512-Fux5Y9hUtogH3MgIPMNRp2ztDG5/AU/dURJWTJE+1PhxAMKLSziI8T1+HQqINM2VUKGqDoVqmBDupy00IfyR/w==","signatures":[{"sig":"MEUCIQC8JmG7Zn5ZiKM8H2Yl2NS2A7GGQIczbQ8NeTL7P/G5gAIgdiUE544kvhPBNrhwI2wtjf4J4tWdU0Uh/FyLJWRhz6s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":177281,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfq6zaCRA9TVsSAnZWagAA+wcP+gO07R6ytRo3EVu5E9fS\n3ZKUFbknMF7AUKOiUtv8FhiJ8xhMIRYUdE8JcMKnAq4kHathDiUP0Uy1jKyg\n9Ds7hw/k+xrwFLRKqafginq+xCREXSsn3Y4I0OotUkMVTBRZbBrdSp6zHt02\nYmpghxZY1dr8GBT2KcAUkYghd3Y6zEJETI64cWU5ygs9m1MZObgZ3hZtlOX6\nV2Ims8Nm3Bt6RYJmOUCWIZ1ItCaOdpeqjmhky7rXcX3rIIPlFpgk/d9NYJ1u\nrxa9Tgtz/6dKHIiWMH5MyspLQEXBeUwitvDi2U8piZ4IP/3onxPd8Blnyw0o\n5w8TAzcnW4Wmyf0N8GhqDQNfpYDqxTU4W+fZyYQv4dOd9F7lcyarplPyDrGh\n0m+DSdEAzkk8f+9M8nuBsH1KVNPgMPT89NsDMgBa4ffXYkGdzueagFTSSSxC\nm3xumZChXjIn+zPVjBCdwuwgaRomv2Q8eb06zBKvcs8wYSU2cADXzBQW+0MI\nNiAjHSStOGQfuNOS/ORv/W6JL03JV3bDeXTnKUcNwEO9EEGtwTikUu6aIya8\nw6FneC6kNoPYTlSiXJ4/2UEzB3FAdrBmsjcMVYNjt1MOttTP4Zlj2UfSsdZg\nYDDh3uXjkaU7+TCfTaDd7Yft+qN3perS1iW9H21nDEKr7+ajQTZROPuzLqF2\nRD6R\r\n=Zd5P\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/commonjs/index.js","readme":"# ErrorProvider\n\nA technical error provider.\n\nThe errors are based on HTTP, but can be used anywhere else as well.\nThis is also the set of errors that the AtlasEngine uses internally.\n\n## Usage\n\nInstallation:\n\n```sh\nnpm install --save @atlas-engine/error_provider\n```\n\nUsage in NodeJS:\n\n```js\nconst ERRORNAME = require('@atlas-engine/error_provider').ERRORNAME;\n// or\nconst {ERRORNAME1, ERRORNAME2, ERRORNAME3} = require('@atlas-engine/error_provider');\n\nconst error = new ERRORNAME('fancy error message');\n```\n\nUsage in TypeScript:\n\n```ts\nimport * as Errors from '@atlas-engine/error_provider';\n// or\nimport {ERRORNAME1, ERRORNAME2, ERRORNAME3} from '@atlas-engine/error_provider';\n\nconst error = new Errors.ERRORNAME('fancy error message');\nconst anotherError = new ERRORNAME1('fancy error message');\n```\n\nWhere `ERRORNAME` is the error you want to import.\n\nAll errors from this package have the `isAtlasEngineError`-property, so that they can be easily recognized as such.\n\n## Serialization and Deserialization\n\nThere are two ways to serialize/deserialize the errors:\n\n### Direct serialization\n\n**Serialization:**\n\nEach error has a `serialize` function which creates a string representation of the error object.\n\nFor example:\n\n```ts\nimport {InternalServerError} from '@atlas-engine/error_provider';\n\nconst error = new InternalServerError('error!');\nconst serializedError = error.serialize();\n```\n\n**Deserialization:**\n\nThe `BaseError` class provides a static `deserialize` function, which accepts a string argument.\nIt tries to parse the string into a corresponding `AtlasEngine` error and returns the result.\n\nFor example:\n\n```ts\nimport {BaseError} from '@atlas-engine/error_provider';\n\nconst serializedError = '{\"errorClassName\":\"InternalServerError\",\"code\":500,\"message\":\"Process was terminated!\",\"callStack\":\"InternalServerError: Process was terminated!\\n    at <InsertStackHere>\"}';\nconst error = BaseError.deserialize();\n```\n\n**Note:**\nThe function will throw an error, if the given string does not properly represent an AtlasEngine error!\n\n### Serializer functions\n\nWe also provide a global `serialize` and `deserialize` function, which work independently from any internal errors.\n\nUnlike the serializer functions attached to `BaseError`, these functions are also able to handle base `Error` objects and even plain JSONs.\n\nExample:\n\n```ts\nimport {deserializeError, InternalServerError, serializeError} from '@atlas-engine/error_provider';\n\nconst internalServerError = new InternalServerError('error!');\nconst basicError = new Error('error!');\nconst untypedError = {message: 'Oh no, where did my type info go!?', code: 666};\n\n// Serializing errors\nconst serializedInternalServerError = serializeError(internalServerError);\nconst serializedBasicError = serializeError(basicError);\nconst serializedUntypedError = serializeError(untypedError);\n\n// Deserializing errors\n// The results should match the errors declared above\nconst deserializedInternalServerError = deserializeError(serializedInternalServerError);\nconst deserializedBasicError = deserializeError(serializedBasicError);\nconst deserializedUntypedError = deserializeError(serializedUntypedError);\n```\n\nUse these, if you cannot be entirely certain that an error will be from `@atlas-engine/error_provider`.\n\n### A note on @essential-projects/errors_ts\n\nSince this package is the continuation of `@essential-projects/errors_ts`, the `deserializeError` and `serializeError` functions are able to handle errors from that package as well.\n\n## Test\n\nYou can run the tests by simply calling:\n\n```bash\nnpm test\n```\n\n## Error Codes\n\nThe Errors are mostly based on [HTTP status codes](https://de.wikipedia.org/wiki/HTTP-Statuscode).\nEvery Error, except for the `BaseError` extends `BaseError`, which in turn extends `Error`.\n\n| Name                               | Code    |\n| ---                                | ---     |\n| BaseError                          |         |\n|                                    |         |\n| **Information Errors**             | **1xx** |\n| ContinueError                      | 100     |\n| SwitchingProtocolsError            | 101     |\n| ProcessingError                    | 102     |\n|                                    |         |\n| **Redirect Errors**                | **3xx** |\n| MultipleChoicesError               | 300     |\n| MovedError                         | 301     |\n| FoundError                         | 302     |\n| SeeOtherError                      | 303     |\n| NotModifiedError                   | 304     |\n| UseProxyError                      | 305     |\n| TemporaryRedirectError             | 307     |\n| PermanentRedirectError             | 308     |\n|                                    |         |\n| **Client Errors**                  | **4xx** |\n| BadRequestError                    | 400     |\n| UnauthorizedError                  | 401     |\n| PaymentRequiredError               | 402     |\n| ForbiddenError                     | 403     |\n| NotFoundError                      | 404     |\n| MethodNotAllowedError              | 405     |\n| NotAcceptableError                 | 406     |\n| ProxyAuthenticationRequiredError   | 407     |\n| RequestTimeoutError                | 408     |\n| ConflictError                      | 409     |\n| GoneError                          | 410     |\n| LengthRequiredError                | 411     |\n| PreconditionFailedError            | 412     |\n| RequestTooLargeError               | 413     |\n| URLTooLongError                    | 414     |\n| UnsupportedMediaTypeError          | 415     |\n| RequestedRangeNotSatisfiableError  | 416     |\n| ExpectationFailedError             | 417     |\n| ImATeapotError                     | 418     |\n| PolicyNotFulfilledError            | 420     |\n| MisdirectredRequestError           | 421     |\n| UnprocessableEntityError           | 422     |\n| LockedError                        | 423     |\n| FailedDependencyError              | 424     |\n| UpgradeRequiredError               | 426     |\n| PreconditionRequiredError          | 428     |\n| TooManyRequestsError               | 429     |\n| RequestHeaderTooLargeError         | 431     |\n| UnavaliableForLegalReasonsError    | 451     |\n|                                    |         |\n| **Server Errors**                  | **5xx** |\n| InternalServerError                | 500     |\n| NotImplementedError                | 501     |\n| BadGatewayError                    | 502     |\n| ServiceUnavaliableError            | 503     |\n| GatewayTimeoutError                | 504     |\n| VersionNotSupportedError           | 505     |\n| InsufficientStorageError           | 507     |\n| LoopDetectedError                  | 508     |\n| BandwithLimitExceededError         | 509     |\n| NetworkAuthenticationRequiredError | 511     |\n","gitHead":"d98f0c67be9de14bd4b2a13e460cfa3f929e0522","scripts":{"lint":"eslint  src/**/*.ts src/*.ts","test":"mocha -r ts-node/register tests/*.ts","build":"npm run clean && npm run build-commonjs && npm run build-amd","clean":"rm -rf dist","prepare":"npm run build && npm run lint && npm test","lint-fix":"eslint --fix  src/**/*.ts src/*.ts","build-amd":"tsc --module amd --outDir ./dist/amd","build-commonjs":"tsc"},"typings":"dist/index.d.ts","_npmUser":{"name":"process-engine-ci","email":"ci+npm@process-engine.io"},"deprecated":"This package is no longer maintained. Consider upgrading your engine to v13, which no longer uses this package.","repository":{"url":"git+https://github.com/atlas-engine/ErrorProvider.git","type":"git"},"_npmVersion":"6.14.8","description":"Contains a set of technical errors that our protocal adapters can handle.","directories":{},"_nodeVersion":"12.19.0","dependencies":{},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"mocha":"7.2.0","eslint":"6.8.0","should":"13.2.3","ts-node":"8.9.1","typescript":"3.9.3","@types/node":"12.12.36","@types/mocha":"7.0.2","@process-engine/ci_tools":"^3.2.0","@atlas-engine/eslint-config":"^1.0.5"},"_npmOperationalInternal":{"tmp":"tmp/error_provider_1.0.4-beta.2_1605086426332_0.6955157074277336","host":"s3://npm-registry-packages"}},"1.0.4-alpha.2":{"name":"@atlas-engine/error_provider","version":"1.0.4-alpha.2","author":{"name":"5Minds IT-Solutions GmbH & Co. KG"},"license":"MIT","_id":"@atlas-engine/error_provider@1.0.4-alpha.2","maintainers":[{"name":"lukas.huerter","email":"lukas.huerter@5minds.de"},{"name":"fvanbraak","email":"frank.vanbraak@5minds.de"},{"name":"process-engine-ci","email":"ci+npm@process-engine.io"},{"name":"steffen982","email":"Steffenknaup@hotmail.de"},{"name":"rrrene","email":"rf@bamaru.de"},{"name":"alexanderkasten","email":"alexander.kasten@5minds.de"},{"name":"moellenbeck","email":"martin.moellenbeck@5minds.de"},{"name":"obivarg","email":"christian.werner@5minds.de"}],"homepage":"https://github.com/atlas-engine/ErrorProvider#readme","bugs":{"url":"https://github.com/atlas-engine/ErrorProvider/issues"},"dist":{"shasum":"5b76fb6d2168d9f43d6aa36ab072b7efcfff7eeb","tarball":"https://registry.npmjs.org/@atlas-engine/error_provider/-/error_provider-1.0.4-alpha.2.tgz","fileCount":309,"integrity":"sha512-G9Pq8xEuesg8ib/N5NJ6qE7oWhbLv7asXnzHofUfh04bx2H+JZxuRuEquLwBh3ZVQ3U45RfKdEivicFnPw/V9g==","signatures":[{"sig":"MEYCIQDrHoeWZAJDNqHpw2efH1sOq9WHSUPlpld2dO1s69rnSQIhAM/ZRY0UmVjAUzxqtttWcK801vSlWallmQpvAnyMZZTR","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":177282,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfq6zgCRA9TVsSAnZWagAAql0QAJVU6U6AygPYNaFwOcnJ\n2XMrsjZdjeLu1V8C5OE1AnhEN2bkAOGDqTEKX+NyygFHg24dwFWZCi2Qmu3C\nrm/KH/udUu19Mt3ffk5P1uIWU04VyTvE7+lE3dZOFWyHaxlBHZmf/4IjoLbP\nFR3ImkduJpzAPlfYycxZ7ZkHLGXZ85OnlYvcr4nJam2b1mcr7jk47qAoVo2w\nGHPEVVTX8gOppCTx2DTI0gsaCb6MtL4qVitBeuJscw45Mk0ZrYiB/rtfJwh3\n39K1dAbEVzKEvQkPvaKjuCljLP8YkC3bPFRQkbwmuh1CXd+4hADf3Vp+trN7\nNMzHoe46F5jUo9XaTd7RUz8WYQxLU2qcrdeZmF1TtRjluw83eFLPot5GzbOI\nE64hItB9rq37QJ5rR0QCYbPOhHHibz6pA0SzKlOf85m163H0jLjuoJrCWsaK\nKB8E6a0ZbFn8U/KLM/Wbxfw6J/4vBvHXLt2YfHHNHAoOYCa69EBfT4pVOJU4\nWSDtS5uftkejs3Dyj4YbJaXnSt5JNLi0R6Zc3HFrpTv4WLZXipAQV6EOBcIw\nn3g3FgT1NcYmfewdW3XbKGDRLRGg+PFjhsSyysDcxHVpDAEz2vFODnwDNTBe\ntw6KaHuJJwHsrBMNWb22HL1HNevlyCOcVwlRiBJK2ZAygZ1hdrcdAVakQJQn\ncQ/6\r\n=Uyba\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/commonjs/index.js","readme":"# ErrorProvider\n\nA technical error provider.\n\nThe errors are based on HTTP, but can be used anywhere else as well.\nThis is also the set of errors that the AtlasEngine uses internally.\n\n## Usage\n\nInstallation:\n\n```sh\nnpm install --save @atlas-engine/error_provider\n```\n\nUsage in NodeJS:\n\n```js\nconst ERRORNAME = require('@atlas-engine/error_provider').ERRORNAME;\n// or\nconst {ERRORNAME1, ERRORNAME2, ERRORNAME3} = require('@atlas-engine/error_provider');\n\nconst error = new ERRORNAME('fancy error message');\n```\n\nUsage in TypeScript:\n\n```ts\nimport * as Errors from '@atlas-engine/error_provider';\n// or\nimport {ERRORNAME1, ERRORNAME2, ERRORNAME3} from '@atlas-engine/error_provider';\n\nconst error = new Errors.ERRORNAME('fancy error message');\nconst anotherError = new ERRORNAME1('fancy error message');\n```\n\nWhere `ERRORNAME` is the error you want to import.\n\nAll errors from this package have the `isAtlasEngineError`-property, so that they can be easily recognized as such.\n\n## Serialization and Deserialization\n\nThere are two ways to serialize/deserialize the errors:\n\n### Direct serialization\n\n**Serialization:**\n\nEach error has a `serialize` function which creates a string representation of the error object.\n\nFor example:\n\n```ts\nimport {InternalServerError} from '@atlas-engine/error_provider';\n\nconst error = new InternalServerError('error!');\nconst serializedError = error.serialize();\n```\n\n**Deserialization:**\n\nThe `BaseError` class provides a static `deserialize` function, which accepts a string argument.\nIt tries to parse the string into a corresponding `AtlasEngine` error and returns the result.\n\nFor example:\n\n```ts\nimport {BaseError} from '@atlas-engine/error_provider';\n\nconst serializedError = '{\"errorClassName\":\"InternalServerError\",\"code\":500,\"message\":\"Process was terminated!\",\"callStack\":\"InternalServerError: Process was terminated!\\n    at <InsertStackHere>\"}';\nconst error = BaseError.deserialize();\n```\n\n**Note:**\nThe function will throw an error, if the given string does not properly represent an AtlasEngine error!\n\n### Serializer functions\n\nWe also provide a global `serialize` and `deserialize` function, which work independently from any internal errors.\n\nUnlike the serializer functions attached to `BaseError`, these functions are also able to handle base `Error` objects and even plain JSONs.\n\nExample:\n\n```ts\nimport {deserializeError, InternalServerError, serializeError} from '@atlas-engine/error_provider';\n\nconst internalServerError = new InternalServerError('error!');\nconst basicError = new Error('error!');\nconst untypedError = {message: 'Oh no, where did my type info go!?', code: 666};\n\n// Serializing errors\nconst serializedInternalServerError = serializeError(internalServerError);\nconst serializedBasicError = serializeError(basicError);\nconst serializedUntypedError = serializeError(untypedError);\n\n// Deserializing errors\n// The results should match the errors declared above\nconst deserializedInternalServerError = deserializeError(serializedInternalServerError);\nconst deserializedBasicError = deserializeError(serializedBasicError);\nconst deserializedUntypedError = deserializeError(serializedUntypedError);\n```\n\nUse these, if you cannot be entirely certain that an error will be from `@atlas-engine/error_provider`.\n\n### A note on @essential-projects/errors_ts\n\nSince this package is the continuation of `@essential-projects/errors_ts`, the `deserializeError` and `serializeError` functions are able to handle errors from that package as well.\n\n## Test\n\nYou can run the tests by simply calling:\n\n```bash\nnpm test\n```\n\n## Error Codes\n\nThe Errors are mostly based on [HTTP status codes](https://de.wikipedia.org/wiki/HTTP-Statuscode).\nEvery Error, except for the `BaseError` extends `BaseError`, which in turn extends `Error`.\n\n| Name                               | Code    |\n| ---                                | ---     |\n| BaseError                          |         |\n|                                    |         |\n| **Information Errors**             | **1xx** |\n| ContinueError                      | 100     |\n| SwitchingProtocolsError            | 101     |\n| ProcessingError                    | 102     |\n|                                    |         |\n| **Redirect Errors**                | **3xx** |\n| MultipleChoicesError               | 300     |\n| MovedError                         | 301     |\n| FoundError                         | 302     |\n| SeeOtherError                      | 303     |\n| NotModifiedError                   | 304     |\n| UseProxyError                      | 305     |\n| TemporaryRedirectError             | 307     |\n| PermanentRedirectError             | 308     |\n|                                    |         |\n| **Client Errors**                  | **4xx** |\n| BadRequestError                    | 400     |\n| UnauthorizedError                  | 401     |\n| PaymentRequiredError               | 402     |\n| ForbiddenError                     | 403     |\n| NotFoundError                      | 404     |\n| MethodNotAllowedError              | 405     |\n| NotAcceptableError                 | 406     |\n| ProxyAuthenticationRequiredError   | 407     |\n| RequestTimeoutError                | 408     |\n| ConflictError                      | 409     |\n| GoneError                          | 410     |\n| LengthRequiredError                | 411     |\n| PreconditionFailedError            | 412     |\n| RequestTooLargeError               | 413     |\n| URLTooLongError                    | 414     |\n| UnsupportedMediaTypeError          | 415     |\n| RequestedRangeNotSatisfiableError  | 416     |\n| ExpectationFailedError             | 417     |\n| ImATeapotError                     | 418     |\n| PolicyNotFulfilledError            | 420     |\n| MisdirectredRequestError           | 421     |\n| UnprocessableEntityError           | 422     |\n| LockedError                        | 423     |\n| FailedDependencyError              | 424     |\n| UpgradeRequiredError               | 426     |\n| PreconditionRequiredError          | 428     |\n| TooManyRequestsError               | 429     |\n| RequestHeaderTooLargeError         | 431     |\n| UnavaliableForLegalReasonsError    | 451     |\n|                                    |         |\n| **Server Errors**                  | **5xx** |\n| InternalServerError                | 500     |\n| NotImplementedError                | 501     |\n| BadGatewayError                    | 502     |\n| ServiceUnavaliableError            | 503     |\n| GatewayTimeoutError                | 504     |\n| VersionNotSupportedError           | 505     |\n| InsufficientStorageError           | 507     |\n| LoopDetectedError                  | 508     |\n| BandwithLimitExceededError         | 509     |\n| NetworkAuthenticationRequiredError | 511     |\n","gitHead":"fd9bf7fe8fa78981de14007a0fa2118952f004a4","scripts":{"lint":"eslint  src/**/*.ts src/*.ts","test":"mocha -r ts-node/register tests/*.ts","build":"npm run clean && npm run build-commonjs && npm run build-amd","clean":"rm -rf dist","prepare":"npm run build && npm run lint && npm test","lint-fix":"eslint --fix  src/**/*.ts src/*.ts","build-amd":"tsc --module amd --outDir ./dist/amd","build-commonjs":"tsc"},"typings":"dist/index.d.ts","_npmUser":{"name":"process-engine-ci","email":"ci+npm@process-engine.io"},"deprecated":"This package is no longer maintained. Consider upgrading your engine to v13, which no longer uses this package.","repository":{"url":"git+https://github.com/atlas-engine/ErrorProvider.git","type":"git"},"_npmVersion":"6.14.8","description":"Contains a set of technical errors that our protocal adapters can handle.","directories":{},"_nodeVersion":"12.19.0","dependencies":{},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"mocha":"7.2.0","eslint":"6.8.0","should":"13.2.3","ts-node":"8.9.1","typescript":"3.9.3","@types/node":"12.12.36","@types/mocha":"7.0.2","@process-engine/ci_tools":"^3.2.0","@atlas-engine/eslint-config":"^1.0.5"},"_npmOperationalInternal":{"tmp":"tmp/error_provider_1.0.4-alpha.2_1605086432065_0.19174354235655366","host":"s3://npm-registry-packages"}},"1.0.5-beta.1":{"name":"@atlas-engine/error_provider","version":"1.0.5-beta.1","author":{"name":"5Minds IT-Solutions GmbH & Co. KG"},"license":"MIT","_id":"@atlas-engine/error_provider@1.0.5-beta.1","maintainers":[{"name":"lukas.huerter","email":"lukas.huerter@5minds.de"},{"name":"fvanbraak","email":"frank.vanbraak@5minds.de"},{"name":"process-engine-ci","email":"ci+npm@process-engine.io"},{"name":"steffen982","email":"Steffenknaup@hotmail.de"},{"name":"rrrene","email":"rf@bamaru.de"},{"name":"alexanderkasten","email":"alexander.kasten@5minds.de"},{"name":"moellenbeck","email":"martin.moellenbeck@5minds.de"},{"name":"obivarg","email":"christian.werner@5minds.de"}],"homepage":"https://github.com/atlas-engine/ErrorProvider#readme","bugs":{"url":"https://github.com/atlas-engine/ErrorProvider/issues"},"dist":{"shasum":"8e0113f1fdba258222da2e5115fca2c3778124f1","tarball":"https://registry.npmjs.org/@atlas-engine/error_provider/-/error_provider-1.0.5-beta.1.tgz","fileCount":309,"integrity":"sha512-nH7/9PhEPiB9/sxMmvZrdcnpiResccelL0ozyrCBRGDPcdzsfLhLF+Z4bQm1cwr4qY+UF0/OR+LnVsaIxN/Ujw==","signatures":[{"sig":"MEUCIDBGQhtBLcGEx7TrH/4t/nqqQM4gGjh6LH+dABl6SW7yAiEAuNNG4EuXgfomG9fRaxwcE86zRR5XESc7Z49T7EJ+E3c=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":177281,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfq62BCRA9TVsSAnZWagAArS0QAIjFEzfxk/m2idd9Oy+i\nC6LqJ6AteFR860O8Hy6uWJz17Fzpr2x38RUr53IjnQwdtWoBQVKHepUiaxBX\n3qKh+DoUJXT+zQsOV+1gE2sRECCXTS6EIcVhE8G6YI0YjYCgYzNeqX7wRBGY\n0DIgdzOBkD5MyY/I61Hqx/3DVQx2D/zys0b6mv3xRGDRyWIBMyRBMBBJzOMG\n+DNX6dNoFvV665DyeE3MehslTAMiQptH1SMGIdOp/4Q4nRlch3N+1DOP25+C\nA3GnoHujsVnJD3C2tWPE5cNdsA2ubctYxAde05eQT1Beo4sdxZCyTIif6gfy\n9J4cL7ZncSkbLuWS5oEsZHrcj8nRwQBR1lruFAIf7dIrYwdbE62RRRN02MRq\nd72YkgSkoH546MQe6IDMd5xKo1ll8NcL3w1/wHO1g68j/2sjBk96VLo2sQht\nJkgXxaXH1Ahug6T+DITW6iP4WeGj2OJ1+THbTpzjm1SnYyYrh+KVHGofbRmh\nlrizFg6BvrV63KP4eT4ssqTTGYXh+WmhI3koeVunVWHOAsu/o/QsK0cEM6mY\nGTr/ELv6Y3eViq4BANqWZjP0VIMdGYGH9aMb799UkFR6hTQM/4KSdbDDiyhE\nSojvLBqCPdRYAh4XCM+QQ7iyTGUL7uV0ytNfwrj4eTQZQw5EEENcw5EUsYfu\nkYdH\r\n=Gvnm\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/commonjs/index.js","readme":"# ErrorProvider\n\nA technical error provider.\n\nThe errors are based on HTTP, but can be used anywhere else as well.\nThis is also the set of errors that the AtlasEngine uses internally.\n\n## Usage\n\nInstallation:\n\n```sh\nnpm install --save @atlas-engine/error_provider\n```\n\nUsage in NodeJS:\n\n```js\nconst ERRORNAME = require('@atlas-engine/error_provider').ERRORNAME;\n// or\nconst {ERRORNAME1, ERRORNAME2, ERRORNAME3} = require('@atlas-engine/error_provider');\n\nconst error = new ERRORNAME('fancy error message');\n```\n\nUsage in TypeScript:\n\n```ts\nimport * as Errors from '@atlas-engine/error_provider';\n// or\nimport {ERRORNAME1, ERRORNAME2, ERRORNAME3} from '@atlas-engine/error_provider';\n\nconst error = new Errors.ERRORNAME('fancy error message');\nconst anotherError = new ERRORNAME1('fancy error message');\n```\n\nWhere `ERRORNAME` is the error you want to import.\n\nAll errors from this package have the `isAtlasEngineError`-property, so that they can be easily recognized as such.\n\n## Serialization and Deserialization\n\nThere are two ways to serialize/deserialize the errors:\n\n### Direct serialization\n\n**Serialization:**\n\nEach error has a `serialize` function which creates a string representation of the error object.\n\nFor example:\n\n```ts\nimport {InternalServerError} from '@atlas-engine/error_provider';\n\nconst error = new InternalServerError('error!');\nconst serializedError = error.serialize();\n```\n\n**Deserialization:**\n\nThe `BaseError` class provides a static `deserialize` function, which accepts a string argument.\nIt tries to parse the string into a corresponding `AtlasEngine` error and returns the result.\n\nFor example:\n\n```ts\nimport {BaseError} from '@atlas-engine/error_provider';\n\nconst serializedError = '{\"errorClassName\":\"InternalServerError\",\"code\":500,\"message\":\"Process was terminated!\",\"callStack\":\"InternalServerError: Process was terminated!\\n    at <InsertStackHere>\"}';\nconst error = BaseError.deserialize();\n```\n\n**Note:**\nThe function will throw an error, if the given string does not properly represent an AtlasEngine error!\n\n### Serializer functions\n\nWe also provide a global `serialize` and `deserialize` function, which work independently from any internal errors.\n\nUnlike the serializer functions attached to `BaseError`, these functions are also able to handle base `Error` objects and even plain JSONs.\n\nExample:\n\n```ts\nimport {deserializeError, InternalServerError, serializeError} from '@atlas-engine/error_provider';\n\nconst internalServerError = new InternalServerError('error!');\nconst basicError = new Error('error!');\nconst untypedError = {message: 'Oh no, where did my type info go!?', code: 666};\n\n// Serializing errors\nconst serializedInternalServerError = serializeError(internalServerError);\nconst serializedBasicError = serializeError(basicError);\nconst serializedUntypedError = serializeError(untypedError);\n\n// Deserializing errors\n// The results should match the errors declared above\nconst deserializedInternalServerError = deserializeError(serializedInternalServerError);\nconst deserializedBasicError = deserializeError(serializedBasicError);\nconst deserializedUntypedError = deserializeError(serializedUntypedError);\n```\n\nUse these, if you cannot be entirely certain that an error will be from `@atlas-engine/error_provider`.\n\n### A note on @essential-projects/errors_ts\n\nSince this package is the continuation of `@essential-projects/errors_ts`, the `deserializeError` and `serializeError` functions are able to handle errors from that package as well.\n\n## Test\n\nYou can run the tests by simply calling:\n\n```bash\nnpm test\n```\n\n## Error Codes\n\nThe Errors are mostly based on [HTTP status codes](https://de.wikipedia.org/wiki/HTTP-Statuscode).\nEvery Error, except for the `BaseError` extends `BaseError`, which in turn extends `Error`.\n\n| Name                               | Code    |\n| ---                                | ---     |\n| BaseError                          |         |\n|                                    |         |\n| **Information Errors**             | **1xx** |\n| ContinueError                      | 100     |\n| SwitchingProtocolsError            | 101     |\n| ProcessingError                    | 102     |\n|                                    |         |\n| **Redirect Errors**                | **3xx** |\n| MultipleChoicesError               | 300     |\n| MovedError                         | 301     |\n| FoundError                         | 302     |\n| SeeOtherError                      | 303     |\n| NotModifiedError                   | 304     |\n| UseProxyError                      | 305     |\n| TemporaryRedirectError             | 307     |\n| PermanentRedirectError             | 308     |\n|                                    |         |\n| **Client Errors**                  | **4xx** |\n| BadRequestError                    | 400     |\n| UnauthorizedError                  | 401     |\n| PaymentRequiredError               | 402     |\n| ForbiddenError                     | 403     |\n| NotFoundError                      | 404     |\n| MethodNotAllowedError              | 405     |\n| NotAcceptableError                 | 406     |\n| ProxyAuthenticationRequiredError   | 407     |\n| RequestTimeoutError                | 408     |\n| ConflictError                      | 409     |\n| GoneError                          | 410     |\n| LengthRequiredError                | 411     |\n| PreconditionFailedError            | 412     |\n| RequestTooLargeError               | 413     |\n| URLTooLongError                    | 414     |\n| UnsupportedMediaTypeError          | 415     |\n| RequestedRangeNotSatisfiableError  | 416     |\n| ExpectationFailedError             | 417     |\n| ImATeapotError                     | 418     |\n| PolicyNotFulfilledError            | 420     |\n| MisdirectredRequestError           | 421     |\n| UnprocessableEntityError           | 422     |\n| LockedError                        | 423     |\n| FailedDependencyError              | 424     |\n| UpgradeRequiredError               | 426     |\n| PreconditionRequiredError          | 428     |\n| TooManyRequestsError               | 429     |\n| RequestHeaderTooLargeError         | 431     |\n| UnavaliableForLegalReasonsError    | 451     |\n|                                    |         |\n| **Server Errors**                  | **5xx** |\n| InternalServerError                | 500     |\n| NotImplementedError                | 501     |\n| BadGatewayError                    | 502     |\n| ServiceUnavaliableError            | 503     |\n| GatewayTimeoutError                | 504     |\n| VersionNotSupportedError           | 505     |\n| InsufficientStorageError           | 507     |\n| LoopDetectedError                  | 508     |\n| BandwithLimitExceededError         | 509     |\n| NetworkAuthenticationRequiredError | 511     |\n","gitHead":"e397e39d3fb518d9cb96ecc05d493354d5938fe4","scripts":{"lint":"eslint  src/**/*.ts src/*.ts","test":"mocha -r ts-node/register tests/*.ts","build":"npm run clean && npm run build-commonjs && npm run build-amd","clean":"rm -rf dist","prepare":"npm run build && npm run lint && npm test","lint-fix":"eslint --fix  src/**/*.ts src/*.ts","build-amd":"tsc --module amd --outDir ./dist/amd","build-commonjs":"tsc"},"typings":"dist/index.d.ts","_npmUser":{"name":"process-engine-ci","email":"ci+npm@process-engine.io"},"deprecated":"This package is no longer maintained. Consider upgrading your engine to v13, which no longer uses this package.","repository":{"url":"git+https://github.com/atlas-engine/ErrorProvider.git","type":"git"},"_npmVersion":"6.14.8","description":"Contains a set of technical errors that our protocal adapters can handle.","directories":{},"_nodeVersion":"12.19.0","dependencies":{},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"mocha":"7.2.0","eslint":"6.8.0","should":"13.2.3","ts-node":"8.9.1","typescript":"3.9.3","@types/node":"12.12.36","@types/mocha":"7.0.2","@process-engine/ci_tools":"^3.2.0","@atlas-engine/eslint-config":"^1.0.5"},"_npmOperationalInternal":{"tmp":"tmp/error_provider_1.0.5-beta.1_1605086592742_0.6134823257362438","host":"s3://npm-registry-packages"}},"1.0.5":{"name":"@atlas-engine/error_provider","version":"1.0.5","author":{"name":"5Minds IT-Solutions GmbH & Co. KG"},"license":"MIT","_id":"@atlas-engine/error_provider@1.0.5","maintainers":[{"name":"lukas.huerter","email":"lukas.huerter@5minds.de"},{"name":"fvanbraak","email":"frank.vanbraak@5minds.de"},{"name":"process-engine-ci","email":"ci+npm@process-engine.io"},{"name":"steffen982","email":"Steffenknaup@hotmail.de"},{"name":"rrrene","email":"rf@bamaru.de"},{"name":"alexanderkasten","email":"alexander.kasten@5minds.de"},{"name":"moellenbeck","email":"martin.moellenbeck@5minds.de"},{"name":"obivarg","email":"christian.werner@5minds.de"}],"homepage":"https://github.com/atlas-engine/ErrorProvider#readme","bugs":{"url":"https://github.com/atlas-engine/ErrorProvider/issues"},"dist":{"shasum":"2a20d14af95bc7feebf1643fefdcf92baa29ca28","tarball":"https://registry.npmjs.org/@atlas-engine/error_provider/-/error_provider-1.0.5.tgz","fileCount":309,"integrity":"sha512-vCdsNzHdAEnD9cB1DChr1atyNmP5Y7gA5N2+erylsarhROqsU1EdM/V441m4Iw81wbk5RBHKX/OqLd+Blc8gBg==","signatures":[{"sig":"MEUCIAdCjC1meBkKG/TO0SGDdecCMYTQjEK8UVsHEuAyZhHnAiEA9604WZVeD3JKLcZBf3ddplEAzqLrcYrrjUEZYwX01I4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":177274,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfq697CRA9TVsSAnZWagAAkg8P/0ZBfWFhKDsftlzfkM2U\naaLmXQO/84AE/UfCfi9bAVtQ+NY8vv9CpIRJjEoJYZm7g0nYmksvpORO63J1\nkUZVUazh8sNeLxcNtSc+DOz9fN/SbvkfBYDpmj/jKPc8Y9l28Ri51sam/biV\nPvZyYuT7XPMX9LCVeyE+4RVN1cvRzH0Dk2Br0YTAn7Tzy2o0CWtl8nfMcGmm\n/HSGWsDYLCzPsNgWoVEtDrstUrPwR1740RxJt2iXCNkXwuh5iOATPrNWggtr\nrnYMqgEVcl+RQO/DLPtahIxgQS84G8Od6qkCZ4f3x9D3aG3HyR1NpyLZHf0g\n0AhEKW6iwxGvbpFiRswiBZeJyzT3y+I1A677s3ozoZqEyy5IaWuHoCHt1VwB\nqVI1ID65Hq9vSuUGwP+jFdIIxUMJhF+pCzI0HRbYqe1v55gF6ZlSMYseKt38\nnsUGibWSgBhClhM6u0yd3F8FXZjD2TON75XO2QCV4sVP56JYwMYduZnrlBr8\nRh6PW3B+q8+OZUyZFMahfZh0htCLzr/zqBmvWF4cBMnQG6Sa2Xc3/oscFtJ3\nNew5Fr6iViR2ZhLHGaQqeEQ0EAJNMX9g5wkJEz8bWhN4ABlMm4mYaytzylQr\n2DAwKSbqPVzsIbtnHs+vOOWTHW1bTsYRYzVMuAbZImt5DPav1H3Jb9ytznAX\n2to1\r\n=58yE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/commonjs/index.js","gitHead":"31def153193df856a3c788d556d697fdae750d07","scripts":{"lint":"eslint  src/**/*.ts src/*.ts","test":"mocha -r ts-node/register tests/*.ts","build":"npm run clean && npm run build-commonjs && npm run build-amd","clean":"rm -rf dist","prepare":"npm run build && npm run lint && npm test","lint-fix":"eslint --fix  src/**/*.ts src/*.ts","build-amd":"tsc --module amd --outDir ./dist/amd","build-commonjs":"tsc"},"typings":"dist/index.d.ts","_npmUser":{"name":"process-engine-ci","email":"ci+npm@process-engine.io"},"deprecated":"This package is no longer maintained. Consider upgrading your engine to v13, which no longer uses this package.","repository":{"url":"git+https://github.com/atlas-engine/ErrorProvider.git","type":"git"},"_npmVersion":"6.14.8","description":"Contains a set of technical errors that our protocal adapters can handle.","directories":{},"_nodeVersion":"12.19.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"mocha":"7.2.0","eslint":"6.8.0","should":"13.2.3","ts-node":"8.9.1","typescript":"3.9.3","@types/node":"12.12.36","@types/mocha":"7.0.2","@process-engine/ci_tools":"^3.2.0","@atlas-engine/eslint-config":"^1.0.5"},"_npmOperationalInternal":{"tmp":"tmp/error_provider_1.0.5_1605087099337_0.4867274064009177","host":"s3://npm-registry-packages"}},"1.0.5-alpha.1":{"name":"@atlas-engine/error_provider","version":"1.0.5-alpha.1","author":{"name":"5Minds IT-Solutions GmbH & Co. KG"},"license":"MIT","_id":"@atlas-engine/error_provider@1.0.5-alpha.1","maintainers":[{"name":"lukas.huerter","email":"lukas.huerter@5minds.de"},{"name":"fvanbraak","email":"frank.vanbraak@5minds.de"},{"name":"process-engine-ci","email":"ci+npm@process-engine.io"},{"name":"steffen982","email":"Steffenknaup@hotmail.de"},{"name":"rrrene","email":"rf@bamaru.de"},{"name":"alexanderkasten","email":"alexander.kasten@5minds.de"},{"name":"moellenbeck","email":"martin.moellenbeck@5minds.de"},{"name":"obivarg","email":"christian.werner@5minds.de"}],"homepage":"https://github.com/atlas-engine/ErrorProvider#readme","bugs":{"url":"https://github.com/atlas-engine/ErrorProvider/issues"},"dist":{"shasum":"57f64075e7e9a738278aa924e67fc29628750a04","tarball":"https://registry.npmjs.org/@atlas-engine/error_provider/-/error_provider-1.0.5-alpha.1.tgz","fileCount":309,"integrity":"sha512-G+86GmxknEzRlZGHS9ZnPEFUPxB2gDSJF8UXm6/8ukPYVPtoG3Jexa46qG78th6slCnmd1k7oeHMSaAkMnTa6w==","signatures":[{"sig":"MEQCIG5Tecz6LwIoNVjQWlephUlA9OTUFT+CkxWJwhe795XcAiBUzgdxT8gDrDnfYEVU7E2S5m/DXzDOTS8NECPsBOJA6g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":177282,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfq6+WCRA9TVsSAnZWagAAIUoP/R6SrxHy5S6De7FDP2YN\ndWCLEkIvEB8cIOY0wrVB2fqjovBo5QCPqfML3Lua7rT7fC/Sm0FsJvAvEG0k\nVrK/GLOlA9KegZmESjyC6rDmgp7N6vpIlbBmq91vnT11uaRU0TN0CEeiUwo0\nUQCc8sdiHKvgpEccrwlcl5cYZ2tGNWbS99RyZK2KtSubFDdQnAFD9Ml20U2e\nflOuopEt2vqo9sVUoSJnc70dMH3bxEdlgna9NOJgOk1DiMETNE6/T13vdjE1\nfTrfof/z48n/rIE4GhvB6x7b/QLaqqqY7G8y6uqGlRATR9uzelNXBVQZCsMU\nJg9xZTt9BocSvb90hSr5ux90DOt/06sxwvqRBzbPBhkw1Vxp4d8c/FNrrihD\nAh8SIVCOGgfS8HsbX2eBISl0rrimqomFFaYWJQ47XZOJAY9ubzKPiXZegPZi\nec+eOXtpTZh9Yy2UVnXmZA9j45FQvEYvdiH8wp/GbybeGmvllhHVj8P+/L7N\nKaNmvD12l8BvCUAwq1jL+BJohTpLp6XGoJku/+1CWZWeCgRwbxvvcMq4Jpvf\ny/2RTdwW6X2J73AnAzTBC28LNCJTOGYaaOMBLIpwAw02DfJ5zj0vMUnJ3Wue\nobi69nlhMih3So+NMuHHMubjYB0XZi33xNUcS0O/yjHB4c0wFEp/Axhh+8qg\n3mdv\r\n=gVx+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/commonjs/index.js","readme":"# ErrorProvider\n\nA technical error provider.\n\nThe errors are based on HTTP, but can be used anywhere else as well.\nThis is also the set of errors that the AtlasEngine uses internally.\n\n## Usage\n\nInstallation:\n\n```sh\nnpm install --save @atlas-engine/error_provider\n```\n\nUsage in NodeJS:\n\n```js\nconst ERRORNAME = require('@atlas-engine/error_provider').ERRORNAME;\n// or\nconst {ERRORNAME1, ERRORNAME2, ERRORNAME3} = require('@atlas-engine/error_provider');\n\nconst error = new ERRORNAME('fancy error message');\n```\n\nUsage in TypeScript:\n\n```ts\nimport * as Errors from '@atlas-engine/error_provider';\n// or\nimport {ERRORNAME1, ERRORNAME2, ERRORNAME3} from '@atlas-engine/error_provider';\n\nconst error = new Errors.ERRORNAME('fancy error message');\nconst anotherError = new ERRORNAME1('fancy error message');\n```\n\nWhere `ERRORNAME` is the error you want to import.\n\nAll errors from this package have the `isAtlasEngineError`-property, so that they can be easily recognized as such.\n\n## Serialization and Deserialization\n\nThere are two ways to serialize/deserialize the errors:\n\n### Direct serialization\n\n**Serialization:**\n\nEach error has a `serialize` function which creates a string representation of the error object.\n\nFor example:\n\n```ts\nimport {InternalServerError} from '@atlas-engine/error_provider';\n\nconst error = new InternalServerError('error!');\nconst serializedError = error.serialize();\n```\n\n**Deserialization:**\n\nThe `BaseError` class provides a static `deserialize` function, which accepts a string argument.\nIt tries to parse the string into a corresponding `AtlasEngine` error and returns the result.\n\nFor example:\n\n```ts\nimport {BaseError} from '@atlas-engine/error_provider';\n\nconst serializedError = '{\"errorClassName\":\"InternalServerError\",\"code\":500,\"message\":\"Process was terminated!\",\"callStack\":\"InternalServerError: Process was terminated!\\n    at <InsertStackHere>\"}';\nconst error = BaseError.deserialize();\n```\n\n**Note:**\nThe function will throw an error, if the given string does not properly represent an AtlasEngine error!\n\n### Serializer functions\n\nWe also provide a global `serialize` and `deserialize` function, which work independently from any internal errors.\n\nUnlike the serializer functions attached to `BaseError`, these functions are also able to handle base `Error` objects and even plain JSONs.\n\nExample:\n\n```ts\nimport {deserializeError, InternalServerError, serializeError} from '@atlas-engine/error_provider';\n\nconst internalServerError = new InternalServerError('error!');\nconst basicError = new Error('error!');\nconst untypedError = {message: 'Oh no, where did my type info go!?', code: 666};\n\n// Serializing errors\nconst serializedInternalServerError = serializeError(internalServerError);\nconst serializedBasicError = serializeError(basicError);\nconst serializedUntypedError = serializeError(untypedError);\n\n// Deserializing errors\n// The results should match the errors declared above\nconst deserializedInternalServerError = deserializeError(serializedInternalServerError);\nconst deserializedBasicError = deserializeError(serializedBasicError);\nconst deserializedUntypedError = deserializeError(serializedUntypedError);\n```\n\nUse these, if you cannot be entirely certain that an error will be from `@atlas-engine/error_provider`.\n\n### A note on @essential-projects/errors_ts\n\nSince this package is the continuation of `@essential-projects/errors_ts`, the `deserializeError` and `serializeError` functions are able to handle errors from that package as well.\n\n## Test\n\nYou can run the tests by simply calling:\n\n```bash\nnpm test\n```\n\n## Error Codes\n\nThe Errors are mostly based on [HTTP status codes](https://de.wikipedia.org/wiki/HTTP-Statuscode).\nEvery Error, except for the `BaseError` extends `BaseError`, which in turn extends `Error`.\n\n| Name                               | Code    |\n| ---                                | ---     |\n| BaseError                          |         |\n|                                    |         |\n| **Information Errors**             | **1xx** |\n| ContinueError                      | 100     |\n| SwitchingProtocolsError            | 101     |\n| ProcessingError                    | 102     |\n|                                    |         |\n| **Redirect Errors**                | **3xx** |\n| MultipleChoicesError               | 300     |\n| MovedError                         | 301     |\n| FoundError                         | 302     |\n| SeeOtherError                      | 303     |\n| NotModifiedError                   | 304     |\n| UseProxyError                      | 305     |\n| TemporaryRedirectError             | 307     |\n| PermanentRedirectError             | 308     |\n|                                    |         |\n| **Client Errors**                  | **4xx** |\n| BadRequestError                    | 400     |\n| UnauthorizedError                  | 401     |\n| PaymentRequiredError               | 402     |\n| ForbiddenError                     | 403     |\n| NotFoundError                      | 404     |\n| MethodNotAllowedError              | 405     |\n| NotAcceptableError                 | 406     |\n| ProxyAuthenticationRequiredError   | 407     |\n| RequestTimeoutError                | 408     |\n| ConflictError                      | 409     |\n| GoneError                          | 410     |\n| LengthRequiredError                | 411     |\n| PreconditionFailedError            | 412     |\n| RequestTooLargeError               | 413     |\n| URLTooLongError                    | 414     |\n| UnsupportedMediaTypeError          | 415     |\n| RequestedRangeNotSatisfiableError  | 416     |\n| ExpectationFailedError             | 417     |\n| ImATeapotError                     | 418     |\n| PolicyNotFulfilledError            | 420     |\n| MisdirectredRequestError           | 421     |\n| UnprocessableEntityError           | 422     |\n| LockedError                        | 423     |\n| FailedDependencyError              | 424     |\n| UpgradeRequiredError               | 426     |\n| PreconditionRequiredError          | 428     |\n| TooManyRequestsError               | 429     |\n| RequestHeaderTooLargeError         | 431     |\n| UnavaliableForLegalReasonsError    | 451     |\n|                                    |         |\n| **Server Errors**                  | **5xx** |\n| InternalServerError                | 500     |\n| NotImplementedError                | 501     |\n| BadGatewayError                    | 502     |\n| ServiceUnavaliableError            | 503     |\n| GatewayTimeoutError                | 504     |\n| VersionNotSupportedError           | 505     |\n| InsufficientStorageError           | 507     |\n| LoopDetectedError                  | 508     |\n| BandwithLimitExceededError         | 509     |\n| NetworkAuthenticationRequiredError | 511     |\n","gitHead":"66e80bf80f246650b40a260711bec6efd3d90216","scripts":{"lint":"eslint  src/**/*.ts src/*.ts","test":"mocha -r ts-node/register tests/*.ts","build":"npm run clean && npm run build-commonjs && npm run build-amd","clean":"rm -rf dist","prepare":"npm run build && npm run lint && npm test","lint-fix":"eslint --fix  src/**/*.ts src/*.ts","build-amd":"tsc --module amd --outDir ./dist/amd","build-commonjs":"tsc"},"typings":"dist/index.d.ts","_npmUser":{"name":"process-engine-ci","email":"ci+npm@process-engine.io"},"deprecated":"This package is no longer maintained. Consider upgrading your engine to v13, which no longer uses this package.","repository":{"url":"git+https://github.com/atlas-engine/ErrorProvider.git","type":"git"},"_npmVersion":"6.14.8","description":"Contains a set of technical errors that our protocal adapters can handle.","directories":{},"_nodeVersion":"12.19.0","dependencies":{},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"mocha":"7.2.0","eslint":"6.8.0","should":"13.2.3","ts-node":"8.9.1","typescript":"3.9.3","@types/node":"12.12.36","@types/mocha":"7.0.2","@process-engine/ci_tools":"^3.2.0","@atlas-engine/eslint-config":"^1.0.5"},"_npmOperationalInternal":{"tmp":"tmp/error_provider_1.0.5-alpha.1_1605087126054_0.6550415496889459","host":"s3://npm-registry-packages"}}},"time":{"created":"2019-12-12T09:46:16.141Z","modified":"2026-05-20T11:36:54.576Z","1.0.0":"2019-12-12T09:46:16.477Z","1.0.1":"2019-12-12T09:47:01.822Z","1.0.2-alpha.2":"2020-03-19T18:26:10.304Z","1.0.2-beta.1":"2020-03-19T18:26:28.886Z","1.0.2-beta.2":"2020-03-24T07:34:36.568Z","1.0.2":"2020-03-24T07:34:42.423Z","1.0.2-alpha.3":"2020-03-24T07:34:47.044Z","1.0.2-feature-b61ecc-k98occ9r":"2020-04-20T16:09:16.888Z","1.0.2-feature-358031-k9dz63zt":"2020-04-24T09:11:19.025Z","1.0.2-alpha.1":"2020-04-24T09:13:06.696Z","1.0.3":"2020-04-29T08:39:42.366Z","1.0.3-alpha.1":"2020-06-02T10:55:22.317Z","1.0.3-beta.1":"2020-10-21T12:01:02.901Z","1.0.3-alpha.2":"2020-10-23T13:48:09.038Z","1.0.3-alpha.3":"2020-10-23T14:13:40.587Z","1.0.3-beta.2":"2020-11-06T10:16:40.296Z","1.0.3-alpha.4":"2020-11-06T10:16:47.693Z","1.0.3-beta.3":"2020-11-11T08:49:00.327Z","1.0.3-alpha.5":"2020-11-11T08:49:06.647Z","1.0.4":"2020-11-11T09:03:27.534Z","1.0.4-beta.1":"2020-11-11T09:04:45.076Z","1.0.4-alpha.1":"2020-11-11T09:05:12.364Z","1.0.4-beta.2":"2020-11-11T09:20:26.471Z","1.0.4-alpha.2":"2020-11-11T09:20:32.215Z","1.0.5-beta.1":"2020-11-11T09:23:12.915Z","1.0.5":"2020-11-11T09:31:39.472Z","1.0.5-alpha.1":"2020-11-11T09:32:06.167Z"},"bugs":{"url":"https://github.com/atlas-engine/ErrorProvider/issues"},"author":{"name":"5Minds IT-Solutions GmbH & Co. KG"},"license":"MIT","homepage":"https://github.com/atlas-engine/ErrorProvider#readme","repository":{"url":"git+https://github.com/atlas-engine/ErrorProvider.git","type":"git"},"description":"Contains a set of technical errors that our protocal adapters can handle.","maintainers":[{"email":"alex@kasten.pw","name":"alexanderkasten"},{"email":"sebastian.griesa@5minds.de","name":"s3bastiangriesa5minds"}],"readme":"","readmeFilename":""}