error-to-jsonReturns a JSON representation of an error (handles nested errors and calls nested toJSONs)errortojsontojsonreturnnestederrortojsonerrerrtojson2.0.0 • Published 4 years ago