transform raises an error for undefined transformations