Error handling in rdf extension