The generated source code expects to be able to instantiate a mapper class that implements the IResultErrorMapper interface via a public, parameterless constructor.
It would be useful to have an analyzer that checks the mapper classes for this constructor and gives the user a hint.
There may also be other ways to "force" the existence of such a constructor.