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

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: any(),
  functionName: any(),
  lineNumber: any()
}

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.