Dart Programming Language
What is an Exception?
Error vs Exception
Exception Hierarchy
Using the `throw` Keyword
Throwing Objects
Custom Exception Messages
The `try-catch` Block
The `on` Clause for Specific Exceptions
The `catch` Clause to Handle Exception Objects
The `finally` Clause
Multiple Catch Blocks
Rethrowing Exceptions
`ArgumentError`
`RangeError`
`StateError`
`UnsupportedError`
`UnimplementedError`
`FormatException`
Defining Custom Exception Classes
Throwing Custom Exceptions
Exception Best Practices
Understanding Stack Traces
Accessing Stack Trace Information
Stack Trace in Async Code
Previous
6. Asynchronous Programming
Go to top
Next
8. Dart Tooling and Ecosystem