SourceLocation(mapping=None, *, ignore_unknown_fields=False, **kwargs)
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.
Attributes
Name | Description |
file_path |
str
The source code filename, which can include a truncated relative path, or a full path from a production machine. |
line_number |
int
1-based. 0 indicates that the line number is unknown. |
function_name |
str
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.
|