Handling errors
To "handle" an error means that you build logic into your application to respond to, or fix, an error. Errors are generated either when an application is compiled or when a compiled application is running. When your application handles errors, something occurs as a response when the error is encountered, as opposed to no response (when whatever process created the error fails silently). Used correctly, error handling helps shield your application and its users from otherwise unexpected behavior.
However, error handling is a broad category that includes responding to many kinds of errors that are thrown during compilation or while an application is running. This discussion focuses on how to handle run-time errors (thrown while an application is running), the different types of errors that can be generated, and the advantages of the error-handling system in ActionScript 3.0.
- Basics of error handling
- Types of errors
- Error handling in ActionScript 3.0
- Working with the debugger versions of Flash runtimes
- Handling synchronous errors in an application
- Creating custom error classes
- Responding to error events and status
- Comparing the Error classes
- Handling errors example: CustomErrors application
More Help topics