Move transformer error handling into a protocol