ReactiveObject.ThrownExceptions有什么用?
What's the usage of ReactiveObject.ThrownExceptions?
我查了很多相关的资料,但是找不到ReactiveObject.ThrownExceptions
的用法示例。
我写了一些代码来在 ViewModel 上引发异常,并订阅 ViewModel
的 ThrownExceptions
属性(继承自 ReactiveObject
),但它不能'根本没有捕捉到任何异常。
谁能告诉我 ReactiveObject.ThrownExceptions
属性 的正确用法是什么?
你基本上应该忽略它,它可能应该从 ReactiveObject 中删除 - 此时它只是一个 Footgun。
我查了很多相关的资料,但是找不到ReactiveObject.ThrownExceptions
的用法示例。
我写了一些代码来在 ViewModel 上引发异常,并订阅 ViewModel
的 ThrownExceptions
属性(继承自 ReactiveObject
),但它不能'根本没有捕捉到任何异常。
谁能告诉我 ReactiveObject.ThrownExceptions
属性 的正确用法是什么?
你基本上应该忽略它,它可能应该从 ReactiveObject 中删除 - 此时它只是一个 Footgun。