{"id":27194789,"url":"https://github.com/openinf/openinf-util-errors","last_synced_at":"2025-04-09T19:36:30.830Z","repository":{"id":39580704,"uuid":"334077250","full_name":"OpenINF/openinf-util-errors","owner":"OpenINF","description":"Essential utility errors inspired by Node.js core error codes","archived":false,"fork":false,"pushed_at":"2025-04-01T13:44:26.000Z","size":255,"stargazers_count":4,"open_issues_count":14,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-01T14:38:30.347Z","etag":null,"topics":["class-library","commonjs","commonjs-module","commonjs-package","error-classes","error-codes","errors","javascript","javascript-library","nodejs","nodejs-module","npm","npm-package","typescript","typescript-library","typescript-module","typescript-package"],"latest_commit_sha":null,"homepage":"https://github.com/OpenINF/openinf-util-errors#readme","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OpenINF.png","metadata":{"funding":{"github":[]},"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-29T08:05:10.000Z","updated_at":"2024-05-24T16:14:36.000Z","dependencies_parsed_at":"2023-07-19T03:55:11.961Z","dependency_job_id":"f5731fcc-6a14-4b5b-9eaa-536134e1321c","html_url":"https://github.com/OpenINF/openinf-util-errors","commit_stats":null,"previous_names":["openinf/util-errors"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenINF%2Fopeninf-util-errors","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenINF%2Fopeninf-util-errors/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenINF%2Fopeninf-util-errors/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenINF%2Fopeninf-util-errors/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OpenINF","download_url":"https://codeload.github.com/OpenINF/openinf-util-errors/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248098513,"owners_count":21047455,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["class-library","commonjs","commonjs-module","commonjs-package","error-classes","error-codes","errors","javascript","javascript-library","nodejs","nodejs-module","npm","npm-package","typescript","typescript-library","typescript-module","typescript-package"],"created_at":"2025-04-09T19:36:29.797Z","updated_at":"2025-04-09T19:36:30.811Z","avatar_url":"https://github.com/OpenINF.png","language":"TypeScript","readme":"\u003ca href=\"https://open.inf.is\"\u003e\n  \u003cimg\n    src=\"https://open.inf.is/assets/img/svg/logogram-color.svg\"\n    alt=\"OpenINF logo\"\n    title=\"OpenINF\"\n    align=\"right\"\n    height=\"96\"\n    width=\"96\"\n  /\u003e\n\u003c/a\u003e\n\n\u003cdiv align=\"left\"\u003e\n\n## `@openinf/util-errors`\n\n\u003e Essential utility errors inspired by Node.js core error codes\n\n\u003cbr /\u003e\n\n[!['View on npm'][npm-badge--shields]][npm-badge-url]\n[!['License: MIT/Apache-2.0'][license-badge--shields]][license-badge-url]\n\n\u003c/div\u003e\n\n\u003cbr /\u003e\n\nThe high-level goal of `@openinf/util-errors` is to serve as a Node.js package\ncontaining **essential utility error classes** that take the form of those found\nand used in Node.js core. We are constantly working to improve this repository,\nso please feel free to [contribute](#contributing) if you notice any omissions\nor errors.\n\nThanks!\n\n\u003cbr /\u003e\n\n\u003cdetails id=\"platform--node-js-lts\"\u003e\n\t\u003csummary\u003e\n\t\t\u003ca\n\t\t\thref=\"#platform--node-js-lts\"\n\t\t\ttitle=\"Platform: Node.js LTS\"\n\t\t\u003e\n\t\t\t\u003cimg\n\t\t\t\tsrc=\"https://img.shields.io/badge/Node.js-LTS-black?logo=Node.js\u0026logoColor=lightgreen\u0026color=2a2a2a\u0026labelColor=black\"\n\t\t\t\talt=\"Platform: Node.js LTS\"\n\t\t\t/\u003e\n\t\t\u003c/a\u003e\n\t\u003c/summary\u003e\n\t\u003cdiv align=\"left\"\u003e\u003cbr /\u003e\n\t\t\u003ca\n\t\t\ttarget=\"_blank\"\n\t\t\ttitle=\"Node.js release schedule\"\n\t\t\thref=\"https://github.com/nodejs/release#release-schedule\"\n\t\t\u003e\n\t\t\t\u003cstrong\u003eSupported Node.js Environments\u003c/strong\u003e\n\t\t\u003c/a\u003e\u003cbr /\u003e\u003cbr /\u003e\n\n- [ ] v4：Argon (Ar)\n- [ ] v6：Boron (B)\n- [ ] v8：Carbon (C)\n- [ ] v10：Dubnium (Db)\n- [ ] v12：Erbium (Er)\n- [x] v14：Fermium (Fm)\n- [x] v16：Gallium (Ga)\n- [x] v18：Hydrogen (H)\n\u003c!-- TODO\n- [x] v20: Iron (Fe) --\u003e\n\n\u003c/div\u003e\u003c/details\u003e\n\n\u003cbr /\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n[![Code Style: Prettier][prettier-badge]][prettier-url]\n[![Commit Style: Conventional Commits][conventional-commits-badge]][conventional-commits-url]\n[![Chat on Matrix][matrix-badge--shields]][matrix-url]\n\n\u003c/div\u003e\n\n\u003cbr /\u003e\u003cbr /\u003e\n\n---\n\n\u003cbr /\u003e\n\n### Table of Contents\n\n- [Installation](#installation)\n- [Usage](#usage)\n- [API](#api)\n- [Contributing](#contributing)\n- [License](#license)\n\n\u003cbr /\u003e\u003cbr /\u003e\n\n---\n\n\u003cbr /\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\n\t\u003c!-- markdownlint-disable-next-line line-length --\u003e\n\t\u003ch3 id=\"installation\" align=\"left\"\u003eInstallation \u003ca href=\"##\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/nodejs/corepack/main/icon.svg?sanitize=true\" alt=\"Corepack logo\" title=\"Corepack friendly\" align=\"right\" height=\"24\" width=\"24\" /\u003e\u003c/a\u003e\u003c/h3\u003e\n\u003c/summary\u003e\n\n\u003cbr /\u003e\n\n`@openinf/util-errors` runs on\n[supported versions of Node.js](#platform--node-js-lts) and is available via\n**`npm`**, **`pnpm`**, or **`yarn`**.\n\n**Using the npm CLI**\n\n\u003csup\u003eSee the\n[official documentation for this command](https://docs.npmjs.com/cli/commands/npm-install)\nfor more information.\u003c/sup\u003e\n\n```shell\nnpm i @openinf/util-errors\n```\n\n**Using the pnpm CLI**\n\n\u003csup\u003eSee the [official documentation for this command](https://pnpm.io/cli/add)\nfor more information.\u003c/sup\u003e\n\n```shell\npnpm add @openinf/util-errors\n```\n\n**Using the Yarn 1 CLI (Classic)**\n\n\u003csup\u003eSee the\n[official documentation for this command](https://classic.yarnpkg.com/en/docs/cli/add)\nfor more information.\u003c/sup\u003e\n\n```shell\nyarn add @openinf/util-errors\n```\n\n\u003cbr /\u003e\n\n\u003c/details\u003e\n\n### Usage\n\nTo get started using the error classes provided by `@openinf/util-errors`, all\nthat needs to be done is either import/require (depending on the module format)\nthe default export of the module or destructure the individual named error\nclasses exported.\n\n```ts\nimport { hasOwn } from '@openinf/util-object';\nimport { MissingOptionError } from '@openinf/util-errors';\nimport infLog from '@openinf/inf-log';\n\nfunction getLogger(logger, opts) {\n  if (!hasOwn(opts, 'scope')) {\n    throw new MissingOptionError('scope');\n  }\n\n  return new logger(opts);\n}\n\nconst log = getLogger(infLog, infLog.defaultOpts);\n\nlog.info('Hello, World!');\n```\n\n**Note:** The example above does not demonstrate how to properly handle this error\n  once thrown and would likely result in an uncaught exception.\n\n**Note:** If you are in an environment where the CommonJS module loader\n  (`require()`) is available, destructuring the individual error classes works\n  just as well.\n\n\u003cbr /\u003e\u003cbr /\u003e\n\n### API\n\n\u003cdl\u003e\n\u003cdt\u003e\u003ca href=\"#InvalidArgValueError\"\u003eInvalidArgValueError\u003c/a\u003e\u003c/dt\u003e\n\u003cdd\u003e\u003cp\u003eThrown in case an invalid or unsupported value was passed for a given argument.\u003c/p\u003e\n\u003c/dd\u003e\n\u003cdt\u003e\u003ca href=\"#InvalidArgTypeError\"\u003eInvalidArgTypeError\u003c/a\u003e\u003c/dt\u003e\n\u003cdd\u003e\u003cp\u003eThrown in case an argument of the wrong type was passed for a given argument.\u003c/p\u003e\n\u003c/dd\u003e\n\u003cdt\u003e\u003ca href=\"#InvalidPropertyValueError\"\u003eInvalidPropertyValueError\u003c/a\u003e\u003c/dt\u003e\n\u003cdd\u003e\u003cp\u003eThrown in case an invalid or unsupported value of an object property.\u003c/p\u003e\n\u003c/dd\u003e\n\u003cdt\u003e\u003ca href=\"#InvalidPropertyTypeError\"\u003eInvalidPropertyTypeError\u003c/a\u003e\u003c/dt\u003e\n\u003cdd\u003e\u003cp\u003eThrown in case an invalid or unsupported value type for an object property.\u003c/p\u003e\n\u003c/dd\u003e\n\u003cdt\u003e\u003ca href=\"#InvalidReturnPropertyValueError\"\u003eInvalidReturnPropertyValueError\u003c/a\u003e\u003c/dt\u003e\n\u003cdd\u003e\u003cp\u003eThrown in case a function does not provide a valid value for one of\nits returned object properties on execution.\u003c/p\u003e\n\u003c/dd\u003e\n\u003cdt\u003e\u003ca href=\"#InvalidReturnPropertyTypeError\"\u003eInvalidReturnPropertyTypeError\u003c/a\u003e\u003c/dt\u003e\n\u003cdd\u003e\u003cp\u003eThrown in case a function does not provide an expected value type for\none of its returned object properties on execution.\u003c/p\u003e\n\u003c/dd\u003e\n\u003cdt\u003e\u003ca href=\"#InvalidReturnValueError\"\u003eInvalidReturnValueError\u003c/a\u003e\u003c/dt\u003e\n\u003cdd\u003e\u003cp\u003eThrown in case a function does not return an expected valid value on\nexecution.\u003c/p\u003e\n\u003c/dd\u003e\n\u003cdt\u003e\u003ca href=\"#InvalidReturnTypeError\"\u003eInvalidReturnTypeError\u003c/a\u003e\u003c/dt\u003e\n\u003cdd\u003e\u003cp\u003eThrown in case a function does not return an expected value type on\nexecution, such as when a function is expected to return a promise.\u003c/p\u003e\n\u003c/dd\u003e\n\u003cdt\u003e\u003ca href=\"#InvalidArgsNumberError\"\u003eInvalidArgsNumberError\u003c/a\u003e\u003c/dt\u003e\n\u003cdd\u003e\u003cp\u003eThrown in case the number of arguments passed to a function is invalid.\u003c/p\u003e\n\u003c/dd\u003e\n\u003cdt\u003e\u003ca href=\"#MissingOptionError\"\u003eMissingOptionError\u003c/a\u003e\u003c/dt\u003e\n\u003cdd\u003e\u003cp\u003eFor APIs that accept options objects, some options might be mandatory. This\nerror is thrown if a required option is missing.\u003c/p\u003e\n\u003c/dd\u003e\n\u003cdt\u003e\u003ca href=\"#MissingArgsError\"\u003eMissingArgsError\u003c/a\u003e\u003c/dt\u003e\n\u003cdd\u003e\u003cp\u003eThrown in case a required argument of an API was not passed.\u003c/p\u003e\n\u003cp\u003eThis is only used for strict compliance with the API specification (which in\nsome cases may accept \u003ccode\u003efunc(undefined)\u003c/code\u003e but not \u003ccode\u003efunc()\u003c/code\u003e). In most native\nNode.js APIs, \u003ccode\u003efunc(undefined)\u003c/code\u003e and \u003ccode\u003efunc()\u003c/code\u003e are treated identically, and the\n\u003ccode\u003eERR_INVALID_ARG_TYPE\u003c/code\u003e error code may be used instead.\u003c/p\u003e\n\u003c/dd\u003e\n\u003cdt\u003e\u003ca href=\"#UnhandledErrorError\"\u003eUnhandledErrorError\u003c/a\u003e\u003c/dt\u003e\n\u003cdd\u003e\u003cp\u003eThrown in case an unhandled error occurred (for instance, when an \u0026#39;error\u0026#39;\nevent is emitted by an EventEmitter without an \u0026#39;error\u0026#39; handler registered).\u003c/p\u003e\n\u003c/dd\u003e\n\u003c/dl\u003e\n\n\u003ca name=\"InvalidArgValueError\"\u003e\u003c/a\u003e\n\n#### InvalidArgValueError\nThrown in case an invalid or unsupported value was passed for a given argument.\n\n**Kind**: global class  \n**See**: https://nodejs.org/api/errors.html#ERR_INVALID_ARG_VALUE  \n\u003ca name=\"new_InvalidArgValueError_new\"\u003e\u003c/a\u003e\n\n##### new InvalidArgValueError(argName, value, reason)\n\n| Param | Type | Default | Description |\n| --- | --- | --- | --- |\n| argName | \u003ccode\u003estring\u003c/code\u003e |  | The argument name. |\n| value | \u003ccode\u003eunknown\u003c/code\u003e |  | The actual invalid argument value. |\n| reason | \u003ccode\u003estring\u003c/code\u003e | \u003ccode\u003e\u0026quot;is invalid\u0026quot;\u003c/code\u003e | The reason for invalidity. |\n\n\u003ca name=\"InvalidArgTypeError\"\u003e\u003c/a\u003e\n\n#### InvalidArgTypeError\nThrown in case an argument of the wrong type was passed for a given argument.\n\n**Kind**: global class  \n**See**: https://nodejs.org/api/errors.html#ERR_INVALID_ARG_TYPE  \n\u003ca name=\"new_InvalidArgTypeError_new\"\u003e\u003c/a\u003e\n\n##### new InvalidArgTypeError(argName, expected, value)\n\n| Param | Type | Description |\n| --- | --- | --- |\n| argName | \u003ccode\u003estring\u003c/code\u003e | The name of the argument of invalid type. |\n| expected | \u003ccode\u003eArray\u0026lt;string\u0026gt;\u003c/code\u003e \\| \u003ccode\u003estring\u003c/code\u003e | The argument type(s) expected. |\n| value | \u003ccode\u003eunknown\u003c/code\u003e | The actual argument value of invalid type. |\n\n\u003ca name=\"InvalidPropertyValueError\"\u003e\u003c/a\u003e\n\n#### InvalidPropertyValueError\nThrown in case an invalid or unsupported value of an object property.\n\n**Kind**: global class  \n\u003ca name=\"new_InvalidPropertyValueError_new\"\u003e\u003c/a\u003e\n\n##### new InvalidPropertyValueError(objName, propName, value, reason)\n\n| Param | Type | Default | Description |\n| --- | --- | --- | --- |\n| objName | \u003ccode\u003estring\u003c/code\u003e |  | The name of the object in question. |\n| propName | \u003ccode\u003estring\u003c/code\u003e |  | The property name assigned invalid value. |\n| value | \u003ccode\u003eunknown\u003c/code\u003e |  | The actual invalid property value assigned. |\n| reason | \u003ccode\u003estring\u003c/code\u003e | \u003ccode\u003e\u0026quot;is invalid\u0026quot;\u003c/code\u003e | The reason for invalidity. |\n\n\u003ca name=\"InvalidPropertyTypeError\"\u003e\u003c/a\u003e\n\n#### InvalidPropertyTypeError\nThrown in case an invalid or unsupported value type for an object property.\n\n**Kind**: global class  \n\u003ca name=\"new_InvalidPropertyTypeError_new\"\u003e\u003c/a\u003e\n\n##### new InvalidPropertyTypeError(objName, propName, expected, value)\n\n| Param | Type | Description |\n| --- | --- | --- |\n| objName | \u003ccode\u003estring\u003c/code\u003e | The name of the object in question. |\n| propName | \u003ccode\u003estring\u003c/code\u003e | The property name assigned value of invalid type. |\n| expected | \u003ccode\u003eArray\u0026lt;string\u0026gt;\u003c/code\u003e \\| \u003ccode\u003estring\u003c/code\u003e | The property type(s) expected. |\n| value | \u003ccode\u003eunknown\u003c/code\u003e | The actual property value of invalid type assigned. |\n\n\u003ca name=\"InvalidReturnPropertyValueError\"\u003e\u003c/a\u003e\n\n#### InvalidReturnPropertyValueError\nThrown in case a function does not provide a valid value for one of\nits returned object properties on execution.\n\n**Kind**: global class  \n**See**: https://nodejs.org/api/errors.html#ERR_INVALID_RETURN_PROPERTY  \n\u003ca name=\"new_InvalidReturnPropertyValueError_new\"\u003e\u003c/a\u003e\n\n##### new InvalidReturnPropertyValueError(funcName, propName, value, reason)\n\n| Param | Type | Default | Description |\n| --- | --- | --- | --- |\n| funcName | \u003ccode\u003estring\u003c/code\u003e |  | The name of the function returning the invalidity. |\n| propName | \u003ccode\u003estring\u003c/code\u003e |  | The property name assigned the invalid value. |\n| value | \u003ccode\u003eunknown\u003c/code\u003e |  | The actual invalid property value assigned. |\n| reason | \u003ccode\u003estring\u003c/code\u003e | \u003ccode\u003e\u0026quot;is invalid\u0026quot;\u003c/code\u003e | The reason for invalidity. |\n\n\u003ca name=\"InvalidReturnPropertyTypeError\"\u003e\u003c/a\u003e\n\n#### InvalidReturnPropertyTypeError\nThrown in case a function does not provide an expected value type for\none of its returned object properties on execution.\n\n**Kind**: global class  \n**See**: https://nodejs.org/api/errors.html#ERR_INVALID_RETURN_PROPERTY_VALUE  \n\u003ca name=\"new_InvalidReturnPropertyTypeError_new\"\u003e\u003c/a\u003e\n\n##### new InvalidReturnPropertyTypeError(funcName, propName, expected, value)\n\n| Param | Type | Description |\n| --- | --- | --- |\n| funcName | \u003ccode\u003estring\u003c/code\u003e | The name of the function returning the invalidity. |\n| propName | \u003ccode\u003estring\u003c/code\u003e | The property name assigned value of invalid type. |\n| expected | \u003ccode\u003eArray\u0026lt;string\u0026gt;\u003c/code\u003e \\| \u003ccode\u003estring\u003c/code\u003e | The property type(s) expected. |\n| value | \u003ccode\u003eunknown\u003c/code\u003e | The actual property value of invalid type assigned. |\n\n\u003ca name=\"InvalidReturnValueError\"\u003e\u003c/a\u003e\n\n#### InvalidReturnValueError\nThrown in case a function does not return an expected valid value on\nexecution.\n\n**Kind**: global class  \n**See**: https://nodejs.org/api/errors.html#ERR_INVALID_RETURN_VALUE  \n\u003ca name=\"new_InvalidReturnValueError_new\"\u003e\u003c/a\u003e\n\n##### new InvalidReturnValueError(funcName, value, reason)\n\n| Param | Type | Description |\n| --- | --- | --- |\n| funcName | \u003ccode\u003estring\u003c/code\u003e | The name of the function returning the invalidity. |\n| value | \u003ccode\u003eunknown\u003c/code\u003e | The actual invalid value returned. |\n| reason | \u003ccode\u003estring\u003c/code\u003e | The reason for invalidity. |\n\n\u003ca name=\"InvalidReturnTypeError\"\u003e\u003c/a\u003e\n\n#### InvalidReturnTypeError\nThrown in case a function does not return an expected value type on\nexecution, such as when a function is expected to return a promise.\n\n**Kind**: global class  \n**See**: https://nodejs.org/api/errors.html#ERR_INVALID_RETURN_VALUE  \n\u003ca name=\"new_InvalidReturnTypeError_new\"\u003e\u003c/a\u003e\n\n##### new InvalidReturnTypeError(funcName, expected, value)\n\n| Param | Type | Description |\n| --- | --- | --- |\n| funcName | \u003ccode\u003estring\u003c/code\u003e | The name of the function returning the invalidity. |\n| expected | \u003ccode\u003eArray\u0026lt;string\u0026gt;\u003c/code\u003e \\| \u003ccode\u003estring\u003c/code\u003e | The return type(s) expected. |\n| value | \u003ccode\u003eunknown\u003c/code\u003e | The actual value of invalid type returned. |\n\n\u003ca name=\"InvalidArgsNumberError\"\u003e\u003c/a\u003e\n\n#### InvalidArgsNumberError\nThrown in case the number of arguments passed to a function is invalid.\n\n**Kind**: global class  \n\u003ca name=\"new_InvalidArgsNumberError_new\"\u003e\u003c/a\u003e\n\n##### new InvalidArgsNumberError(funcName, expected, value)\n\n| Param | Type | Description |\n| --- | --- | --- |\n| funcName | \u003ccode\u003estring\u003c/code\u003e | The name of the function in question. |\n| expected | \u003ccode\u003enumber\u003c/code\u003e | The number of arguments expected to be passed. |\n| value | \u003ccode\u003enumber\u003c/code\u003e | The actual number of arguments passed. |\n\n\u003ca name=\"MissingOptionError\"\u003e\u003c/a\u003e\n\n#### MissingOptionError\nFor APIs that accept options objects, some options might be mandatory. This\nerror is thrown if a required option is missing.\n\n**Kind**: global class  \n**See**: https://nodejs.org/api/errors.html#ERR_MISSING_OPTION  \n\u003ca name=\"new_MissingOptionError_new\"\u003e\u003c/a\u003e\n\n##### new MissingOptionError(optName)\n\n| Param | Type | Description |\n| --- | --- | --- |\n| optName | \u003ccode\u003estring\u003c/code\u003e | The name of the missing option. |\n\n\u003ca name=\"MissingArgsError\"\u003e\u003c/a\u003e\n\n#### MissingArgsError\nThrown in case a required argument of an API was not passed.\n\nThis is only used for strict compliance with the API specification (which in\nsome cases may accept `func(undefined)` but not `func()`). In most native\nNode.js APIs, `func(undefined)` and `func()` are treated identically, and the\n`ERR_INVALID_ARG_TYPE` error code may be used instead.\n\n**Kind**: global class  \n**See**: https://nodejs.org/api/errors.html#ERR_MISSING_ARGS  \n\u003ca name=\"new_MissingArgsError_new\"\u003e\u003c/a\u003e\n\n##### new MissingArgsError(...args)\n\n| Param | Type | Description |\n| --- | --- | --- |\n| ...args | \u003ccode\u003eArray\u0026lt;string\u0026gt;\u003c/code\u003e | The names of the missing arguments. |\n\n\u003ca name=\"UnhandledErrorError\"\u003e\u003c/a\u003e\n\n#### UnhandledErrorError\nThrown in case an unhandled error occurred (for instance, when an 'error'\nevent is emitted by an EventEmitter without an 'error' handler registered).\n\n**Kind**: global class  \n**See**: https://nodejs.org/api/errors.html#ERR_UNHANDLED_ERROR  \n\n\u003cbr /\u003e\u003cbr /\u003e\n\n---\n\n\u003cbr /\u003e\n\n### Contributing\n\nPull requests are welcome. For major changes, please open an issue first to\ndiscuss what you would like to change. If for whatever reason you spot something\nto fix but cannot patch it yourself, please [open an issue][].\n\n\u003cbr /\u003e\n\n### License\n\nThis project is licensed under either of\n\n- [Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0)\n- [MIT license](https://opensource.org/licenses/MIT)\n\nat your option.\n\nThe [SPDX](https://spdx.dev) license identifier for this project is\n`MIT OR Apache-2.0`.\n\n\u003cbr /\u003e\u003cbr /\u003e\n\n---\n\n\u003cbr /\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n### Show Your Support\n\n\u003cbr /\u003e\n\nIf you like the project (or want to bookmark it)\u0026nbsp;\u0026mdash;\u003cbr /\u003e\n\u0026mdash;\u0026nbsp;[give it a star ⭐️][]\u0026nbsp;\u0026mdash;\u0026nbsp;it will greatly encourage\nus.\n\n\u003cbr /\u003e\u003cbr /\u003e\n\n\u003ca title=\"The OpenINF website\" href=\"https://open.inf.is\" rel=\"author\"\u003e\n  \u003cimg alt=\"The OpenINF logo\" height=\"32px\" width=\"32px\" src=\"https://open.inf.is/assets/img/svg/logogram-color.svg\" /\u003e\n\u003c/a\u003e\n\n\u003c/div\u003e\n\n\u003c!-- BEGIN LINK DEFINITIONS --\u003e\n[conventional-commits-badge]: https://img.shields.io/badge/commit%20style-Conventional-%23fa6673?logoColor=white\u0026logo=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMCAzMCI+PHBhdGggc3R5bGU9ImZpbGw6ICNGRkYiIGQ9Ik0xNSwyQTEzLDEzLDAsMSwxLDIsMTUsMTMsMTMsMCwwLDEsMTUsMm0wLTJBMTUsMTUsMCwxLDAsMzAsMTUsMTUsMTUsMCwwLDAsMTUsMFoiLz48L3N2Zz4K 'Commit Style: Conventional Commits'\n[conventional-commits-url]: https://www.conventionalcommits.org 'Commit Style: Conventional Commits'\n[give it a star ⭐️]: https://github.com/OpenINF/openinf-util-errors/stargazers\n[license-badge--shields]: https://img.shields.io/badge/license-MIT%2FApache--2.0-blue.svg?logo=github 'License: MIT/Apache 2.0'\n[license-badge-url]: #license 'License: MIT/Apache 2.0'\n[matrix-badge--shields]: https://img.shields.io/badge/matrix-join%20chat-%2346BC99?logo=matrix 'Chat on Matrix'\n[matrix-url]: https://matrix.to/#/#openinf-space:matrix.org 'You\u0026apos;re invited to talk on Matrix'\n[npm-badge--shields]: https://img.shields.io/npm/v/@openinf/util-errors/latest.svg?logo=npm\u0026color=fe7d37 'View on npm'\n[npm-badge-url]: https://www.npmjs.com/package/@openinf/util-errors#top 'View on npm'\n[open an issue]: https://github.com/OpenINF/openinf-util-errors/issues\n[prettier-badge]: https://img.shields.io/badge/code_style-Prettier-ff69b4.svg?logo=prettier 'Code Style: Prettier'\n[prettier-url]: https://prettier.io/playground 'Code Style: Prettier'\n[project-status-badge]: https://img.shields.io/badge/project%20status-under%20construction-orange 'Project Status: Under construction badge'\n\u003c!-- END LINK DEFINITIONS --\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopeninf%2Fopeninf-util-errors","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopeninf%2Fopeninf-util-errors","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopeninf%2Fopeninf-util-errors/lists"}