来源:https://stackoverflow.com/questions/22633544/how-to-throw-error-and-exit-with-a-custom-message-in-python 标签 python error-handling