node library to convert error instance to plain old javascript object
npm install @propellerheads/error-to-object