- exception 的順序變化是否影響exception catch → 有差別跟 order type 有關- → 主要是受 exception class 的位階 hierarchical 影響 (inheritance)
- Lookup Error 在前 ; indexError 在後 :
- 因為lookupError 已經包含 indexerror , indexerror 繼承於 lookup error,所以後段的index error 沒有作用show (vscode 灰色)
- Lookup Error 在後 ; indexError 在前:
- run Index Error
