@stdlib/error-to-json (npm): Return a JSON representation of an error object.
Keywords: stdlib|stdutils|stdutil|utils|util|utilities|utility|error|object|err|obj|serialize|tojson|json|to|convert|javascript|node|node-js|nodejs