[PD-dev] pd_error() for udpsend, tcpsend, etc.

Hans-Christoph Steiner hans at at.or.at
Wed Jul 7 18:28:20 CEST 2010


On Jul 7, 2010, at 9:15 AM, Martin Peach wrote:

> Hans-Christoph Steiner wrote:
>> Hey Martin,
>> I've been using udpsend/udpreceive in a project and they've been  
>> great.  I have one small request, which I'd happily implement if  
>> you don't want to.  For the error like "not connected", it would be  
>> very handy if they used pd_error() so that the error is findable.
>
> Yes sure, go ahead and do it.
> I think all the error messages need to be looked at re that issue,  
> when I have time...
> Also it would be nice to have some kind of guidelines for which  
> error message to use when. There seem to be several variants  
> available.


I see it like this:

post()  - info
error() - info labeled as an error
pd_error() - findable error with info

IOhannes has been working on a more full fledged debug posting API  
around the verbose() function.

.hc


----------------------------------------------------------------------------

                                               http://at.or.at/hans/





More information about the Pd-dev mailing list