From: Honza M. <hon...@ec...> - 2003-02-25 13:01:44
|
Hi Mitra, you are right, currently generated messages from insert_fnc_xxx functions are ignored - we do not use the return code. So, it is up to you, how to display the errors to user (direct displaying in StoreItem(), filling global $err[] array, creating new Error object, ...). I do not prefer option 1. Regards, Honza On P=E1, 2003-02-21 at 22:51, Mitra wrote: > Honza >=20 > How are errors SUPPOSED to be returned from insert_fnc_xxxx functions, >=20 > I see various places where things are done like return "xxxx" >=20 > But ...the calling functions seem to ignore these errors, >=20 > Specifically I'm trying to get errors generated inside insert_fnc_fil=20 > when trying and failing to do a Resize to propogate all the way back=20 > to the calling Item Manager screen, and I can't figure out how you=20 > wanted this to work. >=20 > - Mitra >=20 > --=20 > Mitra Technology Consulting - www.mitra.biz - mi...@mi... > 02-6684-8096 or 0414-648-0722 >=20 > Life is a Mystery to be Lived, not a Problem to be Solved >=20 >=20 >=20 > ------------------------------------------------------- > This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. > The most comprehensive and flexible code editor you can use. > Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. > www.slickedit.com/sourceforge > _______________________________________________ > Apc-aa-coders mailing list > Apc...@li... > https://lists.sourceforge.net/lists/listinfo/apc-aa-coders >=20 |