Wrap a kernel call that returns an OcShape, automatically casting
the result into a branded AnyShape. On exception, returns an Err
with the given error code and message.
OCCT error messages are automatically translated into user-friendly
explanations when the error kind is OCCT_OPERATION.
Wrap a kernel call that returns an OcShape, automatically casting the result into a branded AnyShape. On exception, returns an Err with the given error code and message.
OCCT error messages are automatically translated into user-friendly explanations when the error kind is OCCT_OPERATION.