{
  "_id": "@poppinss/exception",
  "maintainers": [
    {
      "name": "virk",
      "email": "virk@adonisjs.com"
    },
    {
      "name": "romainlanz",
      "email": "romain.lanz+npm@pm.me"
    },
    {
      "name": "julien-r44",
      "email": "julien@ripouteau.com"
    }
  ],
  "keywords": [],
  "dist-tags": {
    "latest": "1.2.3"
  },
  "author": {
    "name": "Harminder Virk",
    "email": "virk@adonisjs.com"
  },
  "_rev": "5-7d1fe95655aae9c935241f118d012bff",
  "description": "Utility to create custom exceptions",
  "readme": "# @poppinss/exception\n\n> Create custom exceptions with error code, status, and the help description.\n\n<br />\n\n[![gh-workflow-image]][gh-workflow-url] [![npm-image]][npm-url] ![][typescript-image] [![license-image]][license-url]\n\n## Introduction\n\nThe `@poppinss/exception` package provides with a base `Exception` class that can be used to create custom errors with support for defining the **error status**, **error code**, and **help description**.\n\n```ts\nimport { Exception } from '@poppinss/exception'\n\nclass ResourceNotFound extends Exception {\n  static code = 'E_RESOURCE_NOT_FOUND'\n  static status = 404\n  static message = 'Unable to find resource'\n}\n\nthrow new ResourceNotFound()\n```\n\n### Anonymous error classes\n\nYou can also create an anonymous exception class using the `createError` method. The return value is a class constructor that accepts an array of values to use for message interpolation.\n\nThe interpolation of error message is performed using the [`util.format`](https://nodejs.org/api/util.html#utilformatformat-args) method.\n\n```ts\nimport { createError } from '@poppinss/exception'\n\nconst E_RESOURCE_NOT_FOUND = createError<[number]>(\n  'Unable to find resource with id %d',\n  'E_RESOURCE_NOT_FOUND'\n)\n\nconst id = 1\nthrow new E_RESOURCE_NOT_FOUND([id])\n```\n\n## Contributing\n\nOne of the primary goals of poppinss is to have a vibrant community of users and contributors who believes in the principles of the framework.\n\nWe encourage you to read the [contribution guide](https://github.com/poppinss/.github/blob/main/docs/CONTRIBUTING.md) before contributing to the framework.\n\n## Code of Conduct\n\nIn order to ensure that the poppinss community is welcoming to all, please review and abide by the [Code of Conduct](https://github.com/poppinss/.github/blob/main/docs/CODE_OF_CONDUCT.md).\n\n## License\n\nPoppinss exception is open-sourced software licensed under the [MIT license](LICENSE.md).\n\n[gh-workflow-image]: https://img.shields.io/github/actions/workflow/status/poppinss/exception/checks.yml?style=for-the-badge\n[gh-workflow-url]: https://github.com/poppinss/exception/actions/workflows/checks.yml 'Github action'\n[typescript-image]: https://img.shields.io/badge/Typescript-294E80.svg?style=for-the-badge&logo=typescript\n[typescript-url]: \"typescript\"\n[npm-image]: https://img.shields.io/npm/v/@poppinss/exception.svg?style=for-the-badge&logo=npm\n[npm-url]: https://npmjs.org/package/@poppinss/exception 'npm'\n[license-image]: https://img.shields.io/npm/l/@poppinss/exception?color=blueviolet&style=for-the-badge\n[license-url]: LICENSE.md 'license'\n",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/poppinss/exception.git"
  },
  "bugs": {
    "url": "https://github.com/poppinss/exception/issues"
  },
  "license": "MIT",
  "versions": {
    "1.1.0": {
      "name": "@poppinss/exception",
      "version": "1.1.0",
      "keywords": [],
      "author": {
        "name": "Harminder Virk",
        "email": "virk@adonisjs.com"
      },
      "license": "MIT",
      "_id": "@poppinss/exception@1.1.0",
      "maintainers": [
        {
          "name": "julien-r44",
          "email": "julien@ripouteau.com"
        },
        {
          "name": "romainlanz",
          "email": "romain.lanz+npm@pm.me"
        },
        {
          "name": "virk",
          "email": "virk@adonisjs.com"
        }
      ],
      "homepage": "https://github.com/poppinss/exception#readme",
      "bugs": {
        "url": "https://github.com/poppinss/exception/issues"
      },
      "c8": {
        "exclude": [
          "tests/**"
        ],
        "reporter": [
          "text",
          "html"
        ]
      },
      "dist": {
        "shasum": "40a6368a821e7ed97a20882c9ef9c96e9c689b8b",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/@poppinss/exception/-/exception-1.1.0.tgz",
        "fileCount": 6,
        "integrity": "sha512-CRFf4phc3080DTypQdAjJ1KERwVFu4MC/OHQwJ9MgtDmzuXZm9PqrM60CeWq0uPJX7x/+1l6L/S8cdXcPoJiKw==",
        "signatures": [
          {
            "sig": "MEUCIQCA6qz9a58Q6JBgFy14AyVJvknf/FLn+OILDG2pLdck1AIgO+DETY6J+gfmmCiBEMKlHWZYaqvfrcM4BgT9xEsGrgM=",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ],
        "attestations": {
          "url": "https://registry.npmjs.org/-/npm/v1/attestations/@poppinss%2fexception@1.1.0",
          "provenance": {
            "predicateType": "https://slsa.dev/provenance/v1"
          }
        },
        "unpackedSize": 9600
      },
      "main": "build/index.js",
      "tsup": {
        "dts": false,
        "clean": true,
        "entry": [
          "index.ts"
        ],
        "format": "esm",
        "outDir": "./build",
        "target": "esnext",
        "sourcemap": false
      },
      "type": "module",
      "types": "./build/index.d.ts",
      "engines": {
        "node": ">=20.6.0"
      },
      "exports": {
        ".": "./build/index.js"
      },
      "gitHead": "9507310d5a26e9ed5f00c6dc465b85ab4090059e",
      "scripts": {
        "lint": "eslint .",
        "test": "c8 npm run quick:test",
        "build": "npm run compile",
        "format": "prettier --write .",
        "compile": "tsup-node && tsc --emitDeclarationOnly --declaration",
        "pretest": "npm run lint",
        "release": "release-it",
        "version": "npm run build",
        "typecheck": "tsc --noEmit",
        "precompile": "npm run lint",
        "quick:test": "node --import=ts-node-maintained/register/esm --enable-source-maps bin/test.ts",
        "prepublishOnly": "npm run build"
      },
      "_npmUser": {
        "name": "virk",
        "email": "virk@adonisjs.com"
      },
      "prettier": "@adonisjs/prettier-config",
      "release-it": {
        "git": {
          "push": true,
          "tagName": "v${version}",
          "commitMessage": "chore(release): ${version}",
          "tagAnnotation": "v${version}",
          "requireUpstream": true,
          "requireCleanWorkingDir": true
        },
        "npm": {
          "publish": true,
          "skipChecks": true
        },
        "github": {
          "release": true
        },
        "plugins": {
          "@release-it/conventional-changelog": {
            "preset": {
              "name": "angular"
            }
          }
        }
      },
      "repository": {
        "url": "git+https://github.com/poppinss/exception.git",
        "type": "git"
      },
      "_npmVersion": "10.8.2",
      "description": "Utility to create custom exceptions",
      "directories": {},
      "_nodeVersion": "20.18.0",
      "publishConfig": {
        "access": "public",
        "provenance": true
      },
      "_hasShrinkwrap": false,
      "devDependencies": {
        "c8": "^10.1.2",
        "tsup": "^8.3.5",
        "eslint": "^9.14.0",
        "prettier": "^3.3.3",
        "@swc/core": "^1.8.0",
        "release-it": "^17.10.0",
        "typescript": "^5.6.3",
        "@types/node": "^22.9.0",
        "@japa/expect": "^3.0.2",
        "@japa/runner": "^3.1.4",
        "@japa/expect-type": "^2.0.2",
        "@adonisjs/tsconfig": "^1.4.0",
        "ts-node-maintained": "^10.9.4",
        "@adonisjs/eslint-config": "^2.0.0-beta.7",
        "@adonisjs/prettier-config": "^1.4.0",
        "@release-it/conventional-changelog": "^9.0.2"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/exception_1.1.0_1730820339471_0.769630932341814",
        "host": "s3://npm-registry-packages"
      }
    },
    "1.2.0": {
      "name": "@poppinss/exception",
      "version": "1.2.0",
      "keywords": [],
      "author": {
        "name": "Harminder Virk",
        "email": "virk@adonisjs.com"
      },
      "license": "MIT",
      "_id": "@poppinss/exception@1.2.0",
      "maintainers": [
        {
          "name": "virk",
          "email": "virk@adonisjs.com"
        },
        {
          "name": "romainlanz",
          "email": "romain.lanz+npm@pm.me"
        },
        {
          "name": "julien-r44",
          "email": "julien@ripouteau.com"
        }
      ],
      "homepage": "https://github.com/poppinss/exception#readme",
      "bugs": {
        "url": "https://github.com/poppinss/exception/issues"
      },
      "c8": {
        "exclude": [
          "tests/**"
        ],
        "reporter": [
          "text",
          "html"
        ]
      },
      "dist": {
        "shasum": "e61f937a426883d851381f2b3e5b8e2976ae8b1c",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/@poppinss/exception/-/exception-1.2.0.tgz",
        "fileCount": 6,
        "integrity": "sha512-WLneXKQYNClhaMXccO111VQmZahSrcSRDaHRbV6KL5R4pTvK87fMn/MXLUcvOjk0X5dTHDPKF61tM7j826wrjQ==",
        "signatures": [
          {
            "sig": "MEQCIQDKtH459vlUqQ+F5zgxNcmEyZcJyIdyfbMgrkn+Fc1fcwIfNy3oIm2gR1BdLFGZKNZDpNk1TlekzyE+rCTkQ2O71w==",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ],
        "attestations": {
          "url": "https://registry.npmjs.org/-/npm/v1/attestations/@poppinss%2fexception@1.2.0",
          "provenance": {
            "predicateType": "https://slsa.dev/provenance/v1"
          }
        },
        "unpackedSize": 10129
      },
      "main": "build/index.js",
      "tsup": {
        "dts": false,
        "clean": true,
        "entry": [
          "index.ts"
        ],
        "format": "esm",
        "outDir": "./build",
        "target": "esnext",
        "sourcemap": false
      },
      "type": "module",
      "types": "./build/index.d.ts",
      "engines": {
        "node": ">=20.6.0"
      },
      "exports": {
        ".": "./build/index.js"
      },
      "gitHead": "47833ed4a22a1bf930ba78bab331601ed24a2c56",
      "scripts": {
        "lint": "eslint .",
        "test": "c8 npm run quick:test",
        "build": "npm run compile",
        "format": "prettier --write .",
        "compile": "tsup-node && tsc --emitDeclarationOnly --declaration",
        "pretest": "npm run lint",
        "release": "release-it",
        "version": "npm run build",
        "typecheck": "tsc --noEmit",
        "precompile": "npm run lint",
        "quick:test": "node --import=ts-node-maintained/register/esm --enable-source-maps bin/test.ts",
        "prepublishOnly": "npm run build"
      },
      "_npmUser": {
        "name": "virk",
        "email": "virk@adonisjs.com"
      },
      "prettier": "@adonisjs/prettier-config",
      "release-it": {
        "git": {
          "push": true,
          "tagName": "v${version}",
          "commitMessage": "chore(release): ${version}",
          "tagAnnotation": "v${version}",
          "requireUpstream": true,
          "requireCleanWorkingDir": true
        },
        "npm": {
          "publish": true,
          "skipChecks": true
        },
        "github": {
          "release": true
        },
        "plugins": {
          "@release-it/conventional-changelog": {
            "preset": {
              "name": "angular"
            }
          }
        }
      },
      "repository": {
        "url": "git+https://github.com/poppinss/exception.git",
        "type": "git"
      },
      "_npmVersion": "10.8.2",
      "description": "Utility to create custom exceptions",
      "directories": {},
      "_nodeVersion": "20.18.1",
      "publishConfig": {
        "access": "public",
        "provenance": true
      },
      "_hasShrinkwrap": false,
      "devDependencies": {
        "c8": "^10.1.2",
        "tsup": "^8.3.5",
        "eslint": "^9.14.0",
        "prettier": "^3.3.3",
        "@swc/core": "^1.8.0",
        "release-it": "^17.10.0",
        "typescript": "^5.6.3",
        "@types/node": "^22.9.0",
        "@japa/expect": "^3.0.2",
        "@japa/runner": "^3.1.4",
        "@japa/expect-type": "^2.0.2",
        "@adonisjs/tsconfig": "^1.4.0",
        "ts-node-maintained": "^10.9.4",
        "@adonisjs/eslint-config": "^2.0.0-beta.7",
        "@adonisjs/prettier-config": "^1.4.0",
        "@release-it/conventional-changelog": "^9.0.2"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/exception_1.2.0_1735274509910_0.17070058361276463",
        "host": "s3://npm-registry-packages-npm-production"
      }
    },
    "1.2.1": {
      "name": "@poppinss/exception",
      "version": "1.2.1",
      "keywords": [],
      "author": {
        "name": "Harminder Virk",
        "email": "virk@adonisjs.com"
      },
      "license": "MIT",
      "_id": "@poppinss/exception@1.2.1",
      "maintainers": [
        {
          "name": "virk",
          "email": "virk@adonisjs.com"
        },
        {
          "name": "romainlanz",
          "email": "romain.lanz+npm@pm.me"
        },
        {
          "name": "julien-r44",
          "email": "julien@ripouteau.com"
        }
      ],
      "homepage": "https://github.com/poppinss/exception#readme",
      "bugs": {
        "url": "https://github.com/poppinss/exception/issues"
      },
      "c8": {
        "exclude": [
          "tests/**"
        ],
        "reporter": [
          "text",
          "html"
        ]
      },
      "dist": {
        "shasum": "8a5f2120fabb64a99772166d537d8a97490209ff",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/@poppinss/exception/-/exception-1.2.1.tgz",
        "fileCount": 6,
        "integrity": "sha512-aQypoot0HPSJa6gDPEPTntc1GT6QINrSbgRlRhadGW2WaYqUK3tK4Bw9SBMZXhmxd3GeAlZjVcODHgiu+THY7A==",
        "signatures": [
          {
            "sig": "MEUCIEdYue+ncNMEjTy5Q9QkhLKeWjQDyVz5s5VO8mc5DhuxAiEA/7fNXIeHplQIPb5JAN9nnjjB4qGW+1ghukQtyFO4JZg=",
            "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
          }
        ],
        "attestations": {
          "url": "https://registry.npmjs.org/-/npm/v1/attestations/@poppinss%2fexception@1.2.1",
          "provenance": {
            "predicateType": "https://slsa.dev/provenance/v1"
          }
        },
        "unpackedSize": 10119
      },
      "main": "build/index.js",
      "tsup": {
        "dts": false,
        "clean": true,
        "entry": [
          "index.ts"
        ],
        "format": "esm",
        "outDir": "./build",
        "target": "esnext",
        "sourcemap": false
      },
      "type": "module",
      "types": "./build/index.d.ts",
      "engines": {
        "node": ">=18"
      },
      "exports": {
        ".": "./build/index.js"
      },
      "gitHead": "8eda72558e50df6077542f90295002f17ba77680",
      "scripts": {
        "lint": "eslint .",
        "test": "c8 npm run quick:test",
        "build": "npm run compile",
        "format": "prettier --write .",
        "compile": "tsup-node && tsc --emitDeclarationOnly --declaration",
        "pretest": "npm run lint",
        "release": "release-it",
        "version": "npm run build",
        "typecheck": "tsc --noEmit",
        "precompile": "npm run lint",
        "quick:test": "node --import=ts-node-maintained/register/esm --enable-source-maps bin/test.ts",
        "prepublishOnly": "npm run build"
      },
      "_npmUser": {
        "name": "virk",
        "email": "virk@adonisjs.com"
      },
      "prettier": "@adonisjs/prettier-config",
      "release-it": {
        "git": {
          "push": true,
          "tagName": "v${version}",
          "commitMessage": "chore(release): ${version}",
          "tagAnnotation": "v${version}",
          "requireUpstream": true,
          "requireCleanWorkingDir": true
        },
        "npm": {
          "publish": true,
          "skipChecks": true
        },
        "github": {
          "release": true
        },
        "plugins": {
          "@release-it/conventional-changelog": {
            "preset": {
              "name": "angular"
            }
          }
        }
      },
      "repository": {
        "url": "git+https://github.com/poppinss/exception.git",
        "type": "git"
      },
      "_npmVersion": "10.8.2",
      "description": "Utility to create custom exceptions",
      "directories": {},
      "_nodeVersion": "20.18.3",
      "publishConfig": {
        "access": "public",
        "provenance": true
      },
      "_hasShrinkwrap": false,
      "devDependencies": {
        "c8": "^10.1.3",
        "tsup": "^8.4.0",
        "eslint": "^9.21.0",
        "prettier": "^3.5.3",
        "@swc/core": "1.10.7",
        "release-it": "^18.1.2",
        "typescript": "^5.8.2",
        "@types/node": "^22.13.9",
        "@japa/expect": "^3.0.3",
        "@japa/runner": "^4.2.0",
        "@japa/expect-type": "^2.0.3",
        "@adonisjs/tsconfig": "^1.4.0",
        "ts-node-maintained": "^10.9.5",
        "@adonisjs/eslint-config": "^2.0.0",
        "@adonisjs/prettier-config": "^1.4.2",
        "@release-it/conventional-changelog": "^10.0.0"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/exception_1.2.1_1741362152059_0.38016861256291024",
        "host": "s3://npm-registry-packages-npm-production"
      }
    },
    "1.2.2": {
      "name": "@poppinss/exception",
      "version": "1.2.2",
      "keywords": [],
      "author": {
        "name": "Harminder Virk",
        "email": "virk@adonisjs.com"
      },
      "license": "MIT",
      "_id": "@poppinss/exception@1.2.2",
      "maintainers": [
        {
          "name": "virk",
          "email": "virk@adonisjs.com"
        },
        {
          "name": "romainlanz",
          "email": "romain.lanz+npm@pm.me"
        },
        {
          "name": "julien-r44",
          "email": "julien@ripouteau.com"
        }
      ],
      "homepage": "https://github.com/poppinss/exception#readme",
      "bugs": {
        "url": "https://github.com/poppinss/exception/issues"
      },
      "c8": {
        "exclude": [
          "tests/**"
        ],
        "reporter": [
          "text",
          "html"
        ]
      },
      "dist": {
        "shasum": "8d30d42e126c54fe84e997433e4dcac610090743",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/@poppinss/exception/-/exception-1.2.2.tgz",
        "fileCount": 6,
        "integrity": "sha512-m7bpKCD4QMlFCjA/nKTs23fuvoVFoA83brRKmObCUNmi/9tVu8Ve3w4YQAnJu4q3Tjf5fr685HYIC/IA2zHRSg==",
        "signatures": [
          {
            "sig": "MEYCIQD31jVYu+F2LA2QxXNdfjWn0H6uXKKNK5I1dWk07yPJ7wIhAOyJsiMsr73hECgpgAOx8/Uu9bZq2uPriJKPhuYJGH6L",
            "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
          }
        ],
        "attestations": {
          "url": "https://registry.npmjs.org/-/npm/v1/attestations/@poppinss%2fexception@1.2.2",
          "provenance": {
            "predicateType": "https://slsa.dev/provenance/v1"
          }
        },
        "unpackedSize": 10046
      },
      "main": "build/index.js",
      "tsup": {
        "dts": false,
        "clean": true,
        "entry": [
          "index.ts"
        ],
        "format": "esm",
        "outDir": "./build",
        "target": "esnext",
        "sourcemap": false
      },
      "type": "module",
      "types": "./build/index.d.ts",
      "exports": {
        ".": "./build/index.js"
      },
      "gitHead": "ac06099c93b6e5290169af1e85e9c38408cc02df",
      "scripts": {
        "lint": "eslint .",
        "test": "c8 npm run quick:test",
        "build": "npm run compile",
        "format": "prettier --write .",
        "compile": "tsup-node && tsc --emitDeclarationOnly --declaration",
        "pretest": "npm run lint",
        "release": "release-it",
        "version": "npm run build",
        "typecheck": "tsc --noEmit",
        "precompile": "npm run lint",
        "quick:test": "node --import=@poppinss/ts-exec --enable-source-maps bin/test.ts",
        "prepublishOnly": "npm run build"
      },
      "_npmUser": {
        "name": "virk",
        "actor": {
          "name": "virk",
          "type": "user",
          "email": "virk@adonisjs.com"
        },
        "email": "virk@adonisjs.com"
      },
      "prettier": "@adonisjs/prettier-config",
      "release-it": {
        "git": {
          "push": true,
          "tagName": "v${version}",
          "commitMessage": "chore(release): ${version}",
          "tagAnnotation": "v${version}",
          "requireUpstream": true,
          "requireCleanWorkingDir": true
        },
        "npm": {
          "publish": true,
          "skipChecks": true
        },
        "github": {
          "release": true
        },
        "plugins": {
          "@release-it/conventional-changelog": {
            "preset": {
              "name": "angular"
            }
          }
        }
      },
      "repository": {
        "url": "git+https://github.com/poppinss/exception.git",
        "type": "git"
      },
      "_npmVersion": "11.4.2",
      "description": "Utility to create custom exceptions",
      "directories": {},
      "_nodeVersion": "24.3.0",
      "publishConfig": {
        "access": "public",
        "provenance": true
      },
      "_hasShrinkwrap": false,
      "devDependencies": {
        "c8": "^10.1.3",
        "tsup": "^8.5.0",
        "eslint": "^9.30.1",
        "prettier": "^3.6.2",
        "release-it": "^19.0.3",
        "typescript": "^5.8.3",
        "@types/node": "^24.0.10",
        "@japa/expect": "^3.0.4",
        "@japa/runner": "^4.2.0",
        "@japa/expect-type": "^2.0.3",
        "@poppinss/ts-exec": "^1.4.0",
        "@adonisjs/tsconfig": "^2.0.0-next.0",
        "@adonisjs/eslint-config": "^3.0.0-next.0",
        "@adonisjs/prettier-config": "^1.4.5",
        "@release-it/conventional-changelog": "^10.0.1"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/exception_1.2.2_1751623752367_0.7131956766948595",
        "host": "s3://npm-registry-packages-npm-production"
      }
    },
    "1.2.3": {
      "name": "@poppinss/exception",
      "description": "Utility to create custom exceptions",
      "version": "1.2.3",
      "type": "module",
      "main": "build/index.js",
      "exports": {
        ".": "./build/index.js"
      },
      "scripts": {
        "pretest": "npm run lint",
        "test": "c8 npm run quick:test",
        "lint": "eslint .",
        "format": "prettier --write .",
        "typecheck": "tsc --noEmit",
        "precompile": "npm run lint",
        "compile": "tsdown && tsc --emitDeclarationOnly --declaration",
        "build": "npm run compile",
        "version": "npm run build",
        "prepublishOnly": "npm run build",
        "release": "release-it",
        "quick:test": "node --import=@poppinss/ts-exec --enable-source-maps bin/test.ts"
      },
      "devDependencies": {
        "@adonisjs/eslint-config": "^3.0.0-next.5",
        "@adonisjs/prettier-config": "^1.4.5",
        "@adonisjs/tsconfig": "^2.0.0-next.3",
        "@japa/expect": "^3.0.6",
        "@japa/expect-type": "^2.0.3",
        "@japa/runner": "^4.4.0",
        "@poppinss/ts-exec": "^1.4.1",
        "@release-it/conventional-changelog": "^10.0.3",
        "@types/node": "^25.0.1",
        "c8": "^10.1.3",
        "eslint": "^9.39.1",
        "prettier": "^3.7.4",
        "release-it": "^19.1.0",
        "tsdown": "^0.17.3",
        "typescript": "^5.9.3"
      },
      "homepage": "https://github.com/poppinss/exception#readme",
      "repository": {
        "type": "git",
        "url": "git+https://github.com/poppinss/exception.git"
      },
      "bugs": {
        "url": "https://github.com/poppinss/exception/issues"
      },
      "keywords": [],
      "author": {
        "name": "Harminder Virk",
        "email": "virk@adonisjs.com"
      },
      "license": "MIT",
      "publishConfig": {
        "access": "public",
        "provenance": true
      },
      "tsdown": {
        "entry": [
          "index.ts"
        ],
        "outDir": "./build",
        "clean": true,
        "format": "esm",
        "minify": "dce-only",
        "fixedExtension": false,
        "dts": false,
        "treeshake": false,
        "sourcemaps": false,
        "target": "esnext"
      },
      "release-it": {
        "git": {
          "requireCleanWorkingDir": true,
          "requireUpstream": true,
          "commitMessage": "chore(release): ${version}",
          "tagAnnotation": "v${version}",
          "push": true,
          "tagName": "v${version}"
        },
        "github": {
          "release": true
        },
        "npm": {
          "publish": true,
          "skipChecks": true
        },
        "plugins": {
          "@release-it/conventional-changelog": {
            "preset": {
              "name": "angular"
            }
          }
        }
      },
      "c8": {
        "reporter": [
          "text",
          "html"
        ],
        "exclude": [
          "tests/**"
        ]
      },
      "prettier": "@adonisjs/prettier-config",
      "gitHead": "6e8933ba4397460467dce3a0ad3b0ffa745fd8e2",
      "types": "./build/index.d.ts",
      "_id": "@poppinss/exception@1.2.3",
      "_nodeVersion": "24.11.1",
      "_npmVersion": "11.6.2",
      "dist": {
        "integrity": "sha512-dCED+QRChTVatE9ibtoaxc+WkdzOSjYTKi/+uacHWIsfodVfpsueo3+DKpgU5Px8qXjgmXkSvhXvSCz3fnP9lw==",
        "shasum": "b713855e6c9fe2110fea0949455c50828145e64a",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/@poppinss/exception/-/exception-1.2.3.tgz",
        "fileCount": 6,
        "unpackedSize": 9835,
        "attestations": {
          "url": "https://registry.npmjs.org/-/npm/v1/attestations/@poppinss%2fexception@1.2.3",
          "provenance": {
            "predicateType": "https://slsa.dev/provenance/v1"
          }
        },
        "signatures": [
          {
            "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U",
            "sig": "MEUCIQDC/zXaaQTpv2pPy3JAIarYw0VILaj8GEHILvEnZ3eS9AIgWyIpn9R1lktZNOOxANMT19aK2LY4SzarXo1fQZ+c+r4="
          }
        ]
      },
      "_npmUser": {
        "name": "GitHub Actions",
        "email": "npm-oidc-no-reply@github.com",
        "trustedPublisher": {
          "id": "github",
          "oidcConfigId": "oidc:14d5f0fa-2692-4d8c-a0c9-b3d2a33cbc9e"
        }
      },
      "directories": {},
      "maintainers": [
        {
          "name": "virk",
          "email": "virk@adonisjs.com"
        },
        {
          "name": "romainlanz",
          "email": "romain.lanz+npm@pm.me"
        },
        {
          "name": "julien-r44",
          "email": "julien@ripouteau.com"
        }
      ],
      "_npmOperationalInternal": {
        "host": "s3://npm-registry-packages-npm-production",
        "tmp": "tmp/exception_1.2.3_1765533838105_0.24165522957034558"
      },
      "_hasShrinkwrap": false
    }
  },
  "name": "@poppinss/exception",
  "time": {
    "created": "2024-11-05T15:25:39.312Z",
    "modified": "2026-05-22T20:28:39.212Z",
    "1.1.0": "2024-11-05T15:25:39.685Z",
    "1.2.0": "2024-12-27T04:41:50.129Z",
    "1.2.1": "2025-03-07T15:42:32.255Z",
    "1.2.2": "2025-07-04T10:09:12.550Z",
    "1.2.3": "2025-12-12T10:03:58.256Z"
  },
  "readmeFilename": "README.md",
  "homepage": "https://github.com/poppinss/exception#readme"
}