[PD] Ability to access error messages from patch

Roman Haefeli reduzent at gmail.com
Mon Jun 14 16:50:48 CEST 2021


On Mon, 2021-06-14 at 16:11 +0200, Christof Ressi wrote:
> Ok, I think we have to seperate two things:
> 
> 1) posting error messages
> 
> 2) obtaining error codes
> 
> I think Roman is primarly interested in 2),

and 1), I guess...


>  so that his patches can programmatically deal with certain error
> conditions.

Exactly.

While I fully follow your reasoning how 2) is the cleaner and more
correct long-term solution (a real error handling facility), 1) is
probably a more pragmatic approach that doesn't require any code to be
changed and still covers all Pd objects _and_ externals that employ
'post'. 

So, I'm not going to argue against 1). If iemguts or Pd  would provide
something like IOhannes' [canvaserror], I'd totally use it.

Roman


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20210614/c258a158/attachment.sig>


More information about the Pd-list mailing list