Error handing in transformations module