結果 : python define custom error type