Function sentry_contrib_native_sys::value_new_exception
source · [−]Expand description
Creates a new Exception value.
This is intended for capturing language-level exception, such as from a
try-catch block. type
and value
here refer to the exception class
and a possible description.
See https://develop.sentry.dev/sdk/event-payloads/exception/
The returned value needs to be attached to an event via
sentry_event_add_exception
.