view exceptions.py @ 413:f63dfb0ac7dc

Added cost functions
author Joseph Turian <turian@iro.umontreal.ca>
date Fri, 11 Jul 2008 15:26:41 -0400
parents ee11ed427ba8
children
line wrap: on
line source

"""
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"""