I’m used to program pd externals with flext. Now I have to use the MAX C-API to program Max externals.
In flext, there was the function InitProblem();, which I used to abort object creation in the constructor for instance if the user set the wrong creation arguments. Pd printed a message like "Object, couldn’t create." automatically.