def _handle_quota_error(self, error):
        if error.code == "MetadataLimitExceeded":
            raise exc.HTTPBadRequest(explanation=error.message)
        raise error
Creates a dict representation of paste
dataset/ETHPy150Open nii-cloud/dodai-compute/nova/api/openstack/contrib/flavorextraspecs.py/FlavorExtraSpecsController._handle_quota_error--crossover with--dataset/ETHPy150Open joealcorn/PyPaste/PyPaste/views/api/v1/__init__.py/create_paste_dict