Table of Contents

Class PayloadTypeMismatchException

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

A decoder returned a value that is not the requested payload type (including null).

public sealed class PayloadTypeMismatchException : CodecException, ISerializable
Inheritance
PayloadTypeMismatchException
Implements
Inherited Members

Constructors

PayloadTypeMismatchException(string, Type, Type?, string?)

Create the failure.

public PayloadTypeMismatchException(string contentType, Type expectedType, Type? actualType, string? eventId = null)

Parameters

contentType string
expectedType Type
actualType Type
eventId string

Properties

ActualType

The type the decoder produced, or null for a null payload.

public Type? ActualType { get; }

Property Value

Type