Alexander Burger <[email protected]> writes:
Hi Alex,
>> ,------------------------
>> | NIL -- Target not found
>> | ?
>> `------------------------
>> ...
>>
>> I there a way to wrap the function calls send to the server in a kind of
>> 'ignore-errors' expression, that just returns NIL if things go wrong and
>> inhibits that the server goes into debug state?
>
> Yes, you can 'catch' errors.
>
> For the above case, you could
>
> (catch '("Target not found") .. (myProg) ..)
>
> Any (sub)string of an error message will do, and
>
> (catch '("") ..)
>
> will catch any error.
Thats what I needed - thanks.
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:[email protected]?subject=Unsubscribe