Encodes an error for the published message. Its getMessage has the form senderFault: , code: <code>, message:. Fields senderFault, code, message correspond to the respective fields in BatchResultErrorEntry
Type parameters
T
type of the event.
Value parameters
code
an error code representing why the action failed on this entry.
event
event that caused this failure.
message
a message explaining why the action failed on this entry.
senderFault
whether the error happened due to the caller of the batch API action.