@stdlib/error-to-json

Return a JSON representation of an error object.

Browse on unpkg