class NonIsomorphicGraphs(ValueError): """ Raised when graphs are not isomorphic """ pass