Consider hal::dump_exception_info(std::exception_ptr)
#58
Labels
⚡️ enhancement
New feature or request
hal::dump_exception_info(std::exception_ptr)
#58
Such an API would dump information about the exception to a buffer. The kinds of information that would appear there would be:
std::exception::what()
contents if the type is derived fromstd::exception
We should provide a means to tell the system about the other exception types in our system that have useful information. That way, we don't have to derive from
std::exception
to get additional information. This could also reduce ROM size because we won't render a string or save it into our error objects. We can just keep the data we need in our error objects then render their text when thehal::dump_exception_info
is called.The text was updated successfully, but these errors were encountered: