![]() |
Audacity 3.2.0
|
Classes | |
| class | ExceptionContext |
| Helper class to store additional details about the exception. More... | |
Functions | |
| void | AddOSContext (rapidjson::Value &root, rapidjson::Document::AllocatorType &allocator) |
| Append the data about the operating system to the JSON document. More... | |
| rapidjson::Document | CreateSentryDocument () |
| Create the minimal required Sentry JSON document. More... | |
| void | AddExceptionDataToJson (rapidjson::Value &value, rapidjson::Document::AllocatorType &allocator, const ExceptionData &data) |
| Append the ExceptionData to the Exception JSON object. More... | |
| void | SerializeException (const Exception &exception, rapidjson::Value &root, rapidjson::Document::AllocatorType &allocator) |
| Serialize the Exception to JSON. More... | |
| void audacity::sentry::anonymous_namespace{SentryReport.cpp}::AddExceptionDataToJson | ( | rapidjson::Value & | value, |
| rapidjson::Document::AllocatorType & | allocator, | ||
| const ExceptionData & | data | ||
| ) |
Append the ExceptionData to the Exception JSON object.
Definition at line 169 of file SentryReport.cpp.
Referenced by SerializeException().
| void audacity::sentry::anonymous_namespace{SentryReport.cpp}::AddOSContext | ( | rapidjson::Value & | root, |
| rapidjson::Document::AllocatorType & | allocator | ||
| ) |
Append the data about the operating system to the JSON document.
Definition at line 86 of file SentryReport.cpp.
References BasicUI::Get(), and audacity::ToUTF8().
Referenced by CreateSentryDocument().
| rapidjson::Document audacity::sentry::anonymous_namespace{SentryReport.cpp}::CreateSentryDocument | ( | ) |
Create the minimal required Sentry JSON document.
Definition at line 116 of file SentryReport.cpp.
References AddOSContext(), audacity::Uuid::Generate(), and audacity::Uuid::ToHexString().
| void audacity::sentry::anonymous_namespace{SentryReport.cpp}::SerializeException | ( | const Exception & | exception, |
| rapidjson::Value & | root, | ||
| rapidjson::Document::AllocatorType & | allocator | ||
| ) |
Serialize the Exception to JSON.
Definition at line 180 of file SentryReport.cpp.
References AddExceptionDataToJson(), audacity::sentry::AnonymizedMessage::c_str(), audacity::sentry::Exception::Data, BasicUI::Get(), audacity::sentry::AnonymizedMessage::length(), audacity::sentry::Exception::Type, and audacity::sentry::Exception::Value.
Referenced by audacity::sentry::Report::ReportImpl::ReportImpl().