Mercurial > pylearn
diff exceptions.py @ 166:ee11ed427ba8
Created exceptions.py
author | Joseph Turian <turian@gmail.com> |
---|---|
date | Mon, 12 May 2008 18:40:17 -0400 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/exceptions.py Mon May 12 18:40:17 2008 -0400 @@ -0,0 +1,7 @@ +""" +Common exceptions. +@todo: This file should be part of a common/ python package. +""" + +class AbstractFunction (Exception): """Derived class must override this function""" +class NotImplementedYet (NotImplementedError): """Work in progress, this should eventually be implemented"""