add detail to error message for alterType component instantiation