Closed moyogo closed 6 years ago
for reference, also see https://github.com/googlei18n/fontmake/issues/354
Maybe you could define a subclass of BooleanOperationsError that's raised in this specific case when an input contour is open?
like these: https://github.com/typemytype/booleanOperations/blob/master/Lib/booleanOperations/exceptions.py
@anthrotype OpenContourError?
Yeah
+1 for OpenContourError
and a separate error when this occurs instead of raise
OK, it raises OpenContourError now. I guess we can have an option not to raise when we support open paths (see #44).
Allow users to better report error when this occurs.