Exception type thrown by the default C++ API. More...
#include <core.hpp>
Public Member Functions | |
| Error (Status status, std::string message) | |
| Status | status () const noexcept |
Exception type thrown by the default C++ API.
The message returned by what() is owned by this object and remains valid for the lifetime of the exception. This is important because the bridge may produce temporary Rust/C++ error objects internally.
|
inline |