View Source GoogleApi.CloudErrorReporting.V1beta1.Model.ErrorEvent (google_api_cloud_error_reporting v0.21.0)

An error event which is returned by the Error Reporting system.

Attributes

  • context (type: GoogleApi.CloudErrorReporting.V1beta1.Model.ErrorContext.t, default: nil) - Data about the context in which the error occurred.
  • eventTime (type: DateTime.t, default: nil) - Time when the event occurred as provided in the error report. If the report did not contain a timestamp, the time the error was received by the Error Reporting system is used.
  • message (type: String.t, default: nil) - The stack trace that was reported or logged by the service.
  • serviceContext (type: GoogleApi.CloudErrorReporting.V1beta1.Model.ServiceContext.t, default: nil) - The ServiceContext for which this error was reported.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.CloudErrorReporting.V1beta1.Model.ErrorEvent{
  context: GoogleApi.CloudErrorReporting.V1beta1.Model.ErrorContext.t() | nil,
  eventTime: DateTime.t() | nil,
  message: String.t() | nil,
  serviceContext:
    GoogleApi.CloudErrorReporting.V1beta1.Model.ServiceContext.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.