Table of Contents

Enum MessagePackSerializationException.ErrorCode

Namespace
Nerdbank.MessagePack
Assembly
Nerdbank.MessagePack.dll

Specified causes for serialization or deserialization failure.

public enum MessagePackSerializationException.ErrorCode

Fields

DisallowedNullValue = 2

Deserialization failed because the data specified a null value for a non-nullable property.

DoublePropertyAssignment = 4

Deserialization failed because the data specified multiple values for a single property.

MissingRequiredProperty = 1

Deserialization failed because the data was missing a value for a required property.

UnexpectedExtensionTypeCode = 6

Deserialization failed because a TypeCode was encountered that the deserializer was not expecting.

UnexpectedNull = 3

Deserialization failed because the data specified a null token at an unexpected or disallowed place.

UnexpectedToken = 5

Deserialization failed because the data contained a token that was not expected at this time.

Unspecified = 0

No specific cause for the failure was set.