Interface ErrorRecordValue
- All Superinterfaces:
JsonSerializable,RecordValue
- All Known Implementing Classes:
ImmutableErrorRecordValue
Error records are written on unexpected errors during the processing phase.
-
Method Summary
Modifier and TypeMethodDescriptionlonglongMethods inherited from interface io.camunda.zeebe.protocol.record.JsonSerializable
toJson
-
Method Details
-
getExceptionMessage
String getExceptionMessage()- Returns:
- the exception message, which causes this error record.
-
getStacktrace
String getStacktrace()- Returns:
- the stacktrace, which belongs to the exception
-
getErrorEventPosition
long getErrorEventPosition()- Returns:
- the position of the event, which causes this error
-
getProcessInstanceKey
long getProcessInstanceKey()- Returns:
- the process instance key, which is related to the failed event. If the event is not process instance related, then this will return -1
-