Table of Contents

Class PayloadDecodeException

Namespace
Virtufin.Worker.DevKit.Codecs
Assembly
Virtufin.Worker.DevKit.dll

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

contentType string
payloadType Type
eventId string
innerException Exception

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)

Parameters

contentType string
payloadType Type
eventId string
reason string