OGError. Catch it and branch on code:
OGError has:
code: a stable name, such asInvalidParameter.call: the call that failed, such asSolid.constructor.message: a text for people. Do not parse it.details: an object with more data for some codes. For a failedoperateit hashandlers,attempted,families,toolIndexandogIds.
Codes
Events
OpenGeometry.on(event, handler) subscribes to the runtime. It returns a function that unsubscribes.
A fatal error
After aKernelPanic, the runtime sends 'fatal' and refuses every kernel call with KernelPanic. Call OpenGeometry.reset(), then make your bodies again.
Limits
- One to a hundred tool solids in one
operatecall. measurecaps its mesh at 2 000 000 triangles.- A 2D region boolean takes at most 100 000 points or edges across both operands.
- Sizes must be above four times the geometric tolerance,
4e-8m. - Some pairs of curved surfaces are not covered yet and throw
CoverageGap. Some refused booleans take seconds, because the kernel tries several methods before it refuses.

