SourceLocation
class SourceLocation extends Message
Indicates a location in the source code of the service for which errors are reported.
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. All fields are optional.
Protobuf type Google\Devtools\Clouderrorreporting\V1beta1\SourceLocation
Methods
No description
The source code filename, which can include a truncated relative path, or a full path from a production machine.
The source code filename, which can include a truncated relative path, or a full path from a production machine.
1-based. 0 indicates that the line number is unknown.
1-based. 0 indicates that the line number is unknown.
Human-readable name of a function or method.
Human-readable name of a function or method.
Details
at line 44
__construct()
at line 56
string
getFilePath()
The source code filename, which can include a truncated relative path, or a full path from a production machine.
Generated from protobuf field string file_path = 1;
at line 68
setFilePath(string $var)
The source code filename, which can include a truncated relative path, or a full path from a production machine.
Generated from protobuf field string file_path = 1;
at line 80
int
getLineNumber()
1-based. 0 indicates that the line number is unknown.
Generated from protobuf field int32 line_number = 2;
at line 91
setLineNumber(int $var)
1-based. 0 indicates that the line number is unknown.
Generated from protobuf field int32 line_number = 2;
at line 105
string
getFunctionName()
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.
Generated from protobuf field string function_name = 4;
at line 118
setFunctionName(string $var)
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.
Generated from protobuf field string function_name = 4;