結果 : how to throw custom error python