Use like so:
import { NotFoundError } from '@pubsweet/errors' throw new NotFoundError()
npm i @pubsweet/errors
226
2.0.51
MIT
18.9 kB
9
3 years ago