FlightGear next
flightgear::ErrorReporter::ErrorReporterPrivate::AggregateReport Struct Reference

structure representing one or more errors, aggregated together More...

Public Member Functions

bool addOccurence (const ErrorOcurrence &err)
 

Public Attributes

Aggregation type
 
std::string parameter
 base on type, the specific point. For example the add-on ID, AI model ident or custom scenery path
 
SGTimeStamp lastErrorTime
 
bool haveShownToUser = false
 
OccurrenceVec errors
 
bool isCritical = false
 

Detailed Description

structure representing one or more errors, aggregated together

This is what we send to Sentry, or present to the user, after combining occurences from the same / related sources, or duplicates.

Definition at line 232 of file ErrorReporter.cxx.

Member Function Documentation

◆ addOccurence()

bool flightgear::ErrorReporter::ErrorReporterPrivate::AggregateReport::addOccurence ( const ErrorOcurrence & err)

Definition at line 708 of file ErrorReporter.cxx.

Member Data Documentation

◆ errors

OccurrenceVec flightgear::ErrorReporter::ErrorReporterPrivate::AggregateReport::errors

Definition at line 238 of file ErrorReporter.cxx.

◆ haveShownToUser

bool flightgear::ErrorReporter::ErrorReporterPrivate::AggregateReport::haveShownToUser = false

Definition at line 237 of file ErrorReporter.cxx.

◆ isCritical

bool flightgear::ErrorReporter::ErrorReporterPrivate::AggregateReport::isCritical = false

Definition at line 239 of file ErrorReporter.cxx.

◆ lastErrorTime

SGTimeStamp flightgear::ErrorReporter::ErrorReporterPrivate::AggregateReport::lastErrorTime

Definition at line 235 of file ErrorReporter.cxx.

◆ parameter

std::string flightgear::ErrorReporter::ErrorReporterPrivate::AggregateReport::parameter

base on type, the specific point. For example the add-on ID, AI model ident or custom scenery path

Definition at line 234 of file ErrorReporter.cxx.

◆ type

Aggregation flightgear::ErrorReporter::ErrorReporterPrivate::AggregateReport::type

Definition at line 233 of file ErrorReporter.cxx.


The documentation for this struct was generated from the following file: