Convert spf module to GError reporting.