Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] 希望把QiankunError导出 #2842

Open
zWingz opened this issue Dec 13, 2023 · 2 comments
Open

[Feature Request] 希望把QiankunError导出 #2842

zWingz opened this issue Dec 13, 2023 · 2 comments

Comments

@zWingz
Copy link

zWingz commented Dec 13, 2023

Background

esm模式下, 使用addGlobalUncaughtErrorHandler捕获异常拿到的是全局所有error, 无法区分是否为qiankun抛出的异常.
直接用过qiankun/es/error.js引用又没法很好地区分esm和cjs

Proposal

增加QiankunError统一导出

@kuitos
Copy link
Member

kuitos commented Dec 13, 2023

3.0 没有 addGlobalUncaughtErrorHandler 这个 API 了

@zWingz
Copy link
Author

zWingz commented Dec 13, 2023

3.0 何年何月能出..能不能先在2.0暴露一下..就一个语句

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants