diff options
Diffstat (limited to 'r_qtl/errors.py')
-rw-r--r-- | r_qtl/errors.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/r_qtl/errors.py b/r_qtl/errors.py new file mode 100644 index 0000000..648611e --- /dev/null +++ b/r_qtl/errors.py @@ -0,0 +1,8 @@ +"""R/qtl and R/qtl2 error types.""" +from collections import namedtuple + +class RQTLError(Exception): + """Base class for R/qtl and R/qtl2 errors.""" + +class InvalidFormat(RQTLError): + """Raised when the format of the file(s) is invalid.""" |