結果 : how to raise custom errors python