Errors | FeathersJS
npm install @feathersjs/errors --save The @feathersjs/errors module contains a set of standard error classes used by all other Feathers modules. Here are a few ways that you can use them: The following error types, all of which are instances of FeathersError, are available: ProTip: All of the Feathers plugins will automatically emit the appropriate Feathers errors for you.
https://docs.feathersjs.com/api/errors.html#examples