On Thu, 12 Nov 2015, Volker Braun wrote:

Just define your own exception

class LatticeMeetException(ValueError):
    def __init__(self, msg, x, y):
        ...

Tried something: http://trac.sagemath.org/ticket/19163 . May belong under
"bad examples" -header on Python style book.

--
Jori Mäntysalo

Reply via email to