Reference documentation and code samples for the Stackdriver Error Reporting V1beta1 Client class ErrorEvent.
An error event which is returned by the Error Reporting system.
Generated from protobuf message google.devtools.clouderrorreporting.v1beta1.ErrorEvent
Namespace
Google \ Cloud \ ErrorReporting \ V1beta1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ event_time
Google\Protobuf\Timestamp
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.
↳ service_context
↳ message
string
The stack trace that was reported or logged by the service.
↳ context
getEventTime
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.
hasEventTime
clearEventTime
setEventTime
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.
$this
getServiceContext
The ServiceContext
for which this error was reported.
hasServiceContext
clearServiceContext
setServiceContext
The ServiceContext
for which this error was reported.
$this
getMessage
The stack trace that was reported or logged by the service.
string
setMessage
The stack trace that was reported or logged by the service.
var
string
$this
getContext
Data about the context in which the error occurred.
hasContext
clearContext
setContext
Data about the context in which the error occurred.
$this