On Thu, Aug 21, 2008 at 4:50 PM, Matthias Julius <[EMAIL PROTECTED]> wrote:
> It implements proper exception handling which allows to catch
> exceptions where you want to deal with them without having to pass
> error return values up the sub routine stack.  For example, if
> anything goes wrong with the rendering of a tileset there would be an
> exception thrown wherever it happened and it would be caught in the
> top level routine which then can decide whether to try it again,
> return the request to the server or give up alltogether.  No need to
> check every function call for an error value.

Why do you need Error to do that, when eval/die does the same thing. I
suppose Error as a module puts a nice wrapper around it. You die when
there's a problem and eval catches it...

Have a niec day,
-- 
Martijn van Oosterhout <[EMAIL PROTECTED]> http://svana.org/kleptog/

_______________________________________________
Tilesathome mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/tilesathome

Reply via email to