CacheControl / CacheControl/json-rules-engine
Handle error thrown by fact
オープン
- 主要言語
- JavaScript
- スター
- 3.1k
- フォーク
- 507
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
I'm trying to figure out what the Engine does it a Fact function throws an exception. As far as I can tell, there is no event handler for this and it doesn't return the error as the Fact value or anything like that. It also doesn't seem to be caught by either of the existing `success` or `failure` events. Is this supported in some way or does the entire `engine.run()` bomb out?
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
まず、engine.run() を Fact の評価と既存の成功イベントおよび失敗イベントの経路を通じて追跡します。Fact 関数が例外をスローした場合の意図された動作を判断します。これには、エラーを伝播させるべきか、発行すべきかも含まれます。完了とは、動作が決定され、実装され、テストでカバーされていることを意味します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript
- 領域
- backend
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100