google_api_cloud_error_reporting v0.18.0 GoogleApi.CloudErrorReporting.V1beta1.Model.ReportedErrorEvent View Source

An error event which is reported to the Error Reporting system.

Attributes

  • context (type: GoogleApi.CloudErrorReporting.V1beta1.Model.ErrorContext.t, default: nil) - Optional. A description of the context in which the error occurred.

  • eventTime (type: DateTime.t, default: nil) - Optional. Time when the event occurred. If not provided, the time when the event was received by the Error Reporting system will be used.

  • message (type: String.t, default: nil) - Required. The error message. If no context.reportLocation is provided, the message must contain a header (typically consisting of the exception type name and an error message) and an exception stack trace in one of the supported programming languages and formats. Supported languages are Java, Python, JavaScript, Ruby, C#, PHP, and Go. Supported stack trace formats are:

  • serviceContext (type: GoogleApi.CloudErrorReporting.V1beta1.Model.ServiceContext.t, default: nil) - Required. The service context in which this error has occurred.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.CloudErrorReporting.V1beta1.Model.ReportedErrorEvent{
  context: GoogleApi.CloudErrorReporting.V1beta1.Model.ErrorContext.t(),
  eventTime: DateTime.t(),
  message: String.t(),
  serviceContext: GoogleApi.CloudErrorReporting.V1beta1.Model.ServiceContext.t()
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.