nox wrote:
>> What is the difference between "error" and "return -code error"? I  
>> keep learning about new ways of returning errors from ports. It's  
>> disconcerting that there are so many ways. :/
>>
> 
> None.
>  From the manpages, `error string` <=> `return -code error string`

I think technically 'error' generates an error in the current context,
while 'return -code error' generates it in the caller's context. I don't
think there's any practical difference for Portfile purposes.

- Josh
_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev

Reply via email to