@webob.dec.wsgify(RequestClass=wsgi.Request)
    def __call__(self, request):
        content_type = request.best_match_content_type()
        metadata = {"attributes": {"overLimitFault": "code"}}

        xml_serializer = {
            '1.0': wsgi.XMLDictSerializer(metadata, wsgi.XMLNS_V10),
            '1.1': wsgi.XMLDictSerializer(metadata, wsgi.XMLNS_V11),
        }[common.get_version_from_href(request.url)]

        serializer = {
            'application/xml': xml_serializer,
            'application/json': wsgi.JSONDictSerializer(),
        }[content_type]

        content = serializer.serialize(self.content)
        self.wrapped_exc.body = content

        return self.wrapped_exc
Return the wrapped exception with a serialized body conforming to our
dataset/ETHPy150Open nii-cloud/dodai-compute/nova/api/openstack/faults.py/OverLimitFault.__call__