Class ErrorContext
A description of the context in which an error occurred. This data should be provided by the application when reporting an error, unless the error report has been generated automatically from Google App Engine logs.
Implements
Inherited Members
Namespace: Google.Apis.Clouderrorreporting.v1beta1.Data
Assembly: Google.Apis.Clouderrorreporting.v1beta1.dll
Syntax
public class ErrorContext : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
HttpRequest
The HTTP request which was processed when the error was triggered.
Declaration
[JsonProperty("httpRequest")]
public virtual HttpRequestContext HttpRequest { get; set; }
Property Value
Type | Description |
---|---|
HttpRequestContext |
ReportLocation
The location in the source code where the decision was made to report the error, usually the place where it was logged. For a logged exception this would be the source line where the exception is logged, usually close to the place where it was caught.
Declaration
[JsonProperty("reportLocation")]
public virtual SourceLocation ReportLocation { get; set; }
Property Value
Type | Description |
---|---|
SourceLocation |
SourceReferences
Source code that was used to build the executable which has caused the given error message.
Declaration
[JsonProperty("sourceReferences")]
public virtual IList<SourceReference> SourceReferences { get; set; }
Property Value
Type | Description |
---|---|
IList<SourceReference> |
User
The user who caused or was affected by the crash. This can be a user ID, an email address, or an arbitrary
token that uniquely identifies the user. When sending an error report, leave this field empty if the user
was not logged in. In this case the Error Reporting system will use other data, such as remote IP address,
to distinguish affected users. See affected_users_count
in ErrorGroupStats
.
Declaration
[JsonProperty("user")]
public virtual string User { get; set; }
Property Value
Type | Description |
---|---|
string |