|
OCCT-Light 0.1
C ABI and C++ veneer for multi-language CAD workflows
|
Exception thrown by the veneer on any non-OK status code. More...
#include <core.hpp>


Public Member Functions | |
| Error (const ::occtl_status_t theCode, std::string theMessage, const std::uint64_t theSourceUidBits, const std::uint32_t theExtended) noexcept | |
| ::occtl_status_t | code () const noexcept |
| std::uint64_t | source_uid_bits () const noexcept |
| std::uint32_t | extended () const noexcept |
Static Public Member Functions | |
| static Error | from_last (const ::occtl_status_t theFallback) noexcept |
| Build from the current thread-local error state. | |
Exception thrown by the veneer on any non-OK status code.
Carries everything occtl_error_t carries: status, UTF-8 message, optional source UID, optional extended subcode. The message is copied into the exception so it survives subsequent OCCT-Light calls.