public sealed class SourceLocation : IMessage<SourceLocation>, IEquatable<SourceLocation>, IDeepCloneable<SourceLocation>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Error Reporting v1beta1 API class SourceLocation.
Indicates a location in the source code of the service for which errors are
reported. functionName must be provided by the application when reporting
an error, unless the error report contains a message with a supported
exception stack trace. All fields are optional for the later case.
Human-readable name of a function or method.
The value can include optional context like the class or package name.
For example, my.package.MyClass.method in case of Java.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["The `SourceLocation` class in the Google Cloud Error Reporting v1beta1 API is used to represent the location in the source code where errors are reported, and it's part of the `Google.Cloud.ErrorReporting.V1Beta1` namespace."],["The `SourceLocation` class implements interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, while inheriting from `object`."],["This class has three properties: `FilePath` (string), `FunctionName` (string), and `LineNumber` (int), which specify the file, function name, and line number associated with an error's source location."],["The `functionName` must be provided when reporting an error, unless a stack trace message is included in the report."],["The latest version of the `SourceLocation` class is 3.0.0-beta05, with previous versions like 3.0.0-beta04 and 2.0.0-beta05 also available."]]],[]]