Class PayloadDecodeException
A decoder failed; its exception is preserved as InnerException.
public sealed class PayloadDecodeException : CodecException, ISerializable
- Inheritance
-
PayloadDecodeException
- Implements
- Inherited Members
Constructors
PayloadDecodeException(string, Type, string?, Exception)
Create the failure around a decoder exception.
public PayloadDecodeException(string contentType, Type payloadType, string? eventId, Exception innerException)
Parameters
PayloadDecodeException(string, Type, string?, string)
Create the failure from a reason (e.g. a payload that is not binary).
public PayloadDecodeException(string contentType, Type payloadType, string? eventId, string reason)