google_api_cloud_error_reporting v0.12.0 GoogleApi.CloudErrorReporting.V1beta1.Model.SourceLocation View Source

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

  • filePath (type: String.t, default: nil) - The source code filename, which can include a truncated relative path, or a full path from a production machine.
  • functionName (type: String.t, default: nil) - 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.
  • lineNumber (type: integer(), default: nil) - 1-based. 0 indicates that the line number is unknown.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.CloudErrorReporting.V1beta1.Model.SourceLocation{
  filePath: String.t(),
  functionName: String.t(),
  lineNumber: integer()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.