Small set of commonly used errors. Carefully designed and battle tested so you don't need to do it.
npm install @pallad/common-errorsAll errors assume that code property might be set for an error.
code is used to uniquely specify what error is being thrown.