comparison pytouhou/formats/__init__.py @ 377:70e2ed71b09c

Add meaningful exceptions in format parsing.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Wed, 29 Aug 2012 18:34:28 +0200
parents 88361534c77e
children
comparison
equal deleted inserted replaced
376:69ec72b990a4 377:70e2ed71b09c
1 """Touhou games file formats handling. 1 """Touhou games file formats handling.
2 2
3 This package provides modules to handle the various proprietary file formats 3 This package provides modules to handle the various proprietary file formats
4 used by Touhou games. 4 used by Touhou games.
5 """ 5 """
6
7 class WrongFormatError(Exception):
8 pass
9
10 class ChecksumError(Exception):
11 pass