Wrap a kernel call that returns an arbitrary value. 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 arbitrary value. 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.