6.0.0 • Published 22 days ago

@pnpm/error v6.0.0

Weekly downloads
40,851
License
MIT
Repository
github
Last release
22 days ago

@pnpm/error

An error class for pnpm errors

npm version

Installation

pnpm add @pnpm/error

Usage

import { PnpmError } from '@pnpm/error'

try {
    throw new PnpmError('THE_ERROR_CODE', 'The error message')
} catch (err: any) { // eslint-disable-line
    console.log(err.code)
    //> ERR_PNPM_THE_ERROR_CODE
    console.log(err.message)
    //> The error message
}

License

MIT

@everything-registry/sub-chunk-729pkgscansupi@pnpm/default-resolver@pnpm/exportable-manifest@pnpm/filter-lockfile@pnpm/filter-workspace-packages@pnpm/find-workspace-dir@pnpm/cli-utils@pnpm/core@pnpm/dedupe.check@pnpm/default-reporter@pnpm/config@pnpm/global-bin-dir@pnpm/headless@pnpm/get-context@pnpm/audit@pnpm/tarball-fetcher@pnpm/v6.resolve-dependencies@pnpm/worker@pnpm/workspace.read-manifest@pnpm/read-package-json@pnpm/read-project-manifest@pnpm/real-hoist@pnpm/render-peer-issues@pnpm/resolve-dependencies@pnpm/plugin-commands-outdated@pnpm/plugin-commands-patching@pnpm/plugin-commands-publishing@pnpm/plugin-commands-rebuild@pnpm/plugin-commands-recursive@pnpm/plugin-commands-store@pnpm/plugin-commands-store-inspecting@pnpm/pnpmfile@pnpm/plugin-commands-script-runners@pnpm/plugin-commands-server@pnpm/store-connection-manager@pnpm/store-path@pnpm/prepare-package@pnpm/read-importer-manifest@pnpm/local-resolver@pnpm/lockfile-file@pnpm/hooks.read-package-hook@pnpm/license-scanner@pnpm/lifecycle@pnpm/link-bins@pnpm/make-dedicated-lockfile@pnpm/manifest-utils@pnpm/network.auth-header@pnpm/network.proxy-agent@pnpm/node.fetcher@pnpm/npm-lifecycle@pnpm/npm-resolver@pnpm/os.env.path-extender-posix@pnpm/os.env.path-extender-windows@pnpm/os.windows.env@pnpm/parse-cli-args@pnpm/parse-overrides@pnpm/patching.apply-patch@pnpm/plugin-commands-audit@pnpm/plugin-commands-completion@pnpm/plugin-commands-config@pnpm/plugin-commands-deploy@pnpm/plugin-commands-env@pnpm/plugin-commands-import@pnpm/plugin-commands-init@pnpm/package-is-installable@pnpm/package-requester@pnpm/outdated@pnpm/plugin-commands-installation@pnpm/plugin-commands-licenses@pnpm/plugin-commands-listing@node-kit/pnpm-workspace-root@teambit/pnpmcredentials-by-uri@mfauzanap_pandacss/vsix-builder@pandacss/vsix-builder@infinitebrahmanuniverse/nolb-_pn
6.0.0

22 days ago

5.0.3

2 months ago

5.0.2

11 months ago

5.0.1

11 months ago

5.0.0

1 year ago

4.0.1

1 year ago

3.1.0

2 years ago

4.0.0

2 years ago

3.0.1

2 years ago

3.0.0

2 years ago

2.1.0

2 years ago

2.0.0

3 years ago

1.4.0

3 years ago

1.3.1

4 years ago

1.3.0

4 years ago

1.2.0

4 years ago

1.1.0

4 years ago

1.0.0

5 years ago