error_trace 1.0.1
error_trace: ^1.0.1 copied to clipboard
Utilities to preserve stack traces across asynchronous calls for better debugging.
Examples #
Basic usage #
- trace_errors_from_async_function_example.dart:
Shows how to chain exceptions when
async
andawait
are used. - trace_errors_of_unawaited_future_example.dart:
Shows how to chain exceptions when
Future
APIs are used.
Reporting to Crashlytics #
- report_errors_to_crashlytics_example.dart: Shows how to report errors to Crashlytics. The example code can be adapted to report errors to other services other than Crashlytics.