using TranformerException; more useful error messages