Module errors that collects all exceptions.

This commit is contained in:
Niels Müller
2016-06-07 16:19:39 +02:00
parent 0033cede6d
commit 9c00242e2c
3 changed files with 36 additions and 4 deletions

16
pygmx/errors.py Normal file
View File

@ -0,0 +1,16 @@
"""Exceptions of the pygmx package."""
class InvalidMagicException(Exception): pass
class InvalidIndexException(Exception): pass
class UnknownLenError(Exception): pass
class FileTypeError(Exception): pass
class XTCError(Exception): pass