public sealed class ErrorContext : IMessage<ErrorContext>, IEquatable<ErrorContext>, IDeepCloneable<ErrorContext>, IBufferMessage, IMessage
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.
public SourceLocation ReportLocation { get; set; }
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eErrorContext\u003c/code\u003e class provides a description of the context surrounding an error, intended for application-provided error reporting or automated generation from Google App Engine logs.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eErrorContext\u003c/code\u003e implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, offering functionalities such as deep cloning and protocol buffer message handling.\u003c/p\u003e\n"],["\u003cp\u003eThis class has two constructors, one default and one that allows creation based on another \u003ccode\u003eErrorContext\u003c/code\u003e instance.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eErrorContext\u003c/code\u003e includes properties for \u003ccode\u003eHttpRequest\u003c/code\u003e, \u003ccode\u003eReportLocation\u003c/code\u003e, and \u003ccode\u003eUser\u003c/code\u003e, which help in detailing the HTTP request, the source code location, and the affected user associated with the error.\u003c/p\u003e\n"],["\u003cp\u003eThere are three available versions listed: 3.0.0-beta05, 3.0.0-beta04, and 2.0.0-beta05, with the 3.0.0-beta05 being the most recent version.\u003c/p\u003e\n"]]],[],null,[]]