- 如果我們的問題是目前python 內建的exception 沒有 的類別如何處理 → Raise 自己的 exception
- customized your own exception
- 當有人誤用function 時 可設計 try except catch error
- exception 是從 BaseException Class繼承而來. 所以my_own_error 要inharit
- myerror → lookup error → BaseException
- myerror → BaseException
- use Python Keyword “ Raise”
- Raise, Customized Exception
