結果 : how to throw custom exception python