結果 : defining a custom exception python