I opened https://trac.sagemath.org/ticket/2169 to make some example.
I guess you mean that for example ValueError("%s and %s must be positive integers." % (m, n)) should be as it is, but ValueError("the poset is not ranked") changed to ArithmeticError. -- Jori Mäntysalo