ReportedErrorEvent
class ReportedErrorEvent extends Message
An error event which is reported to the Error Reporting system.
Protobuf type Google\Devtools\Clouderrorreporting\V1beta1\ReportedErrorEvent
Methods
No description
[Optional] Time when the event occurred.
[Required] The service context in which this error has occurred.
[Required] The service context in which this error has occurred.
[Required] A message describing the error. The message can contain an exception stack in one of the supported programming languages and formats.
[Required] A message describing the error. The message can contain an exception stack in one of the supported programming languages and formats.
[Optional] A description of the context in which the error occurred.
Details
at line 48
__construct()
at line 61
Timestamp
getEventTime()
[Optional] Time when the event occurred.
If not provided, the time when the event was received by the Error Reporting system will be used.
Generated from protobuf field .google.protobuf.Timestamp event_time = 1;
at line 74
setEventTime(Timestamp $var)
[Optional] Time when the event occurred.
If not provided, the time when the event was received by the Error Reporting system will be used.
Generated from protobuf field .google.protobuf.Timestamp event_time = 1;
at line 86
ServiceContext
getServiceContext()
[Required] The service context in which this error has occurred.
Generated from protobuf field .google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2;
at line 97
setServiceContext(ServiceContext $var)
[Required] The service context in which this error has occurred.
Generated from protobuf field .google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2;
at line 112
string
getMessage()
[Required] A message describing the error. The message can contain an exception stack in one of the supported programming languages and formats.
In that case, the message is parsed and detailed exception information is returned when retrieving the error event again.
Generated from protobuf field string message = 3;
at line 126
setMessage(string $var)
[Required] A message describing the error. The message can contain an exception stack in one of the supported programming languages and formats.
In that case, the message is parsed and detailed exception information is returned when retrieving the error event again.
Generated from protobuf field string message = 3;
at line 138
ErrorContext
getContext()
[Optional] A description of the context in which the error occurred.
Generated from protobuf field .google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 4;
at line 149
setContext(ErrorContext $var)
[Optional] A description of the context in which the error occurred.
Generated from protobuf field .google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 4;