customizeErrorInfo

The function that need to be registered using DevSupportManager.registerErrorCustomizer and is called before passing the error to the RedBox.