|
OCCT-Light 0.1
C ABI and C++ veneer for multi-language CAD workflows
|
#include <occtl_core.h>

Public Attributes | |
| occtl_status_t | status |
| const char * | message |
| occtl_uid_t | source |
| uint32_t | extended |
Thread-local description of the most recent failure.
Populated automatically when any public function returns a non-OK status. Read it with occtl_error_last; clear it with occtl_error_clear.
The message pointer is library-owned and is only valid until the next OCCT-Light call on this thread. Copy it out if you need to retain it.
| uint32_t occtl_error::extended |
Optional SQLite-style extended subcode.
| const char* occtl_error::message |
UTF-8, library-owned, see lifetime note above.
| occtl_uid_t occtl_error::source |
UID of the offending entity, or all-zeros if not applicable.
| occtl_status_t occtl_error::status |
Primary status code.