GetErrorPayload creates and serializes an error payload
(serializer serialize.Serializer, err error)
source not stored for this graph (policy: none)