"openmmapi/vscode:/vscode.git/clone" did not exist on "1b31ef623d69d43f7132b6900c0b48c98a3d8a6c"
Commit f5df12e8 authored by Jason Swails's avatar Jason Swails
Browse files

Add base exception classes.

parent bdbb6cb3
...@@ -7,6 +7,12 @@ Contributors: ...@@ -7,6 +7,12 @@ Contributors:
Date: April 9, 2014 Date: April 9, 2014
""" """
class CharmmError(Exception):
""" Base class for all exceptions raised in this package """
class CharmmWarning(Warning):
""" Base class for all warnings emitted in this package """
class CharmmPSFError(CharmmError): class CharmmPSFError(CharmmError):
""" If there is a problem parsing CHARMM PSF files """ """ If there is a problem parsing CHARMM PSF files """
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment