Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
bevyengine
GitHub Repository: bevyengine/bevy
Path: blob/main/release-content/migration-guides/per-world-error-handler.md
6592 views
---
title: Changes to the default error handler mechanism pull_requests: [18810]
---

Worlds can now have different default error handlers, so there no longer is a global handler.

Replace uses of GLOBAL_ERROR_HANDLER with App's .set_error_handler(handler). For worlds that do not directly belong to an App/SubApp, insert the DefaultErrorHandler(handler) resource.