結果 : how to raise custom errors in python