I have an ATL transformation that handles a subset of all possible input models. Currently, if the input model contains some construct that my transformation does not handle, the transformation crashes and I get a stack trace.
I want to add some error reporting to my transformation. One way I can think of is to define an additional metamodel for errors and warnings and fill that during the transformation. Is there a simpler way? Any examples?