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
- 預估耗時
- 一週以上
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 25/100