Currently the simplest way I've handled errors is by making a page
like others:

class ErrorPage(webapp.RequestHandler):
...
application = webapp.WSGIApplication(
...
('/errorpage', ErrorPage),

Then, I use:
self.redirect('/errorpage')

In any and all if/else branches where there should be an error and I
want to stop running the remaining code.

However, I was wondering if there was a better way than just using the
'self.redirect' to handle errors and perform stops on running code?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to