2.0.0 • Published 1 year ago
@romain-faust/errors
Generic set of errors.
Installation
With NPM:
npm install @romain-faust/errors
With PNPM:
pnpm add @romain-faust/errors
With Yarn:
yarn add @romain-faust/errors
Usage
import { NotFoundError } from '@romain-faust/errors'
throw new NotFoundError('User not found')
License
MIT