return usable information about the error thrown via mitmproxy