📅  最后修改于: 2022-03-11 14:46:08.876000             🧑  作者: Mango
#When using raise, it must be given an Exeption class or one that inherits from it.
#e.g.ValueError, IndexError, KeyError
raise ValueError("I'm a fancy error message")