Does anyone know if it's possible to catch unhandled errors
that occur in a flex application globally?
The Application.error event allows you to capture Error
Events that arise when communication with the outside world fails
for one reason or another, but as much as I've googled I haven't
been able to find anything for capturing coding errors such as
nullpointers etc. at runtime without wrapping every single line of
code with a try-catch.
In an ideal world I would like to catch these errors and
report them for logging on the server. Has anyone managed to
achieve this without resorting to try-catch-spamming?
The Flex-application in question is a central part of an
e-commerse system so it's rather silly that live errors remain