Audacity 3.2.0
|
A DTO for the Sentry Exception interface. More...
#include <SentryReport.h>
Public Member Functions | |
Exception & | AddData (std::string key, AnonymizedMessage value) |
Add a payload to the exception. More... | |
Static Public Member Functions | |
static Exception | Create (std::string type, AnonymizedMessage value) |
Create a new exception. More... | |
static Exception | Create (AnonymizedMessage value) |
Create a new exception with type runtime_error. More... | |
Public Attributes | |
std::string | Type |
Exception type. Should not have spaces. More... | |
AnonymizedMessage | Value |
Message, associated with the Exception. More... | |
std::vector< ExceptionData > | Data |
Arbitrary payload. More... | |
A DTO for the Sentry Exception interface.
Definition at line 30 of file SentryReport.h.
Exception & audacity::sentry::Exception::AddData | ( | std::string | key, |
AnonymizedMessage | value | ||
) |
Add a payload to the exception.
Definition at line 238 of file SentryReport.cpp.
Referenced by ErrorReportDialog::ErrorReportDialog().
|
static |
Create a new exception with type runtime_error.
Definition at line 233 of file SentryReport.cpp.
|
static |
Create a new exception.
Definition at line 224 of file SentryReport.cpp.
Referenced by ErrorReportDialog::ErrorReportDialog().
std::vector<ExceptionData> audacity::sentry::Exception::Data |
Arbitrary payload.
Definition at line 37 of file SentryReport.h.
Referenced by AddData(), and audacity::sentry::anonymous_namespace{SentryReport.cpp}::SerializeException().
std::string audacity::sentry::Exception::Type |
Exception type. Should not have spaces.
Definition at line 33 of file SentryReport.h.
Referenced by audacity::sentry::anonymous_namespace{SentryReport.cpp}::SerializeException().
AnonymizedMessage audacity::sentry::Exception::Value |
Message, associated with the Exception.
Definition at line 35 of file SentryReport.h.
Referenced by audacity::sentry::anonymous_namespace{SentryReport.cpp}::SerializeException().