ManifoldAPI raises ManifoldException if anything goes wrong