Enum MessagePackSerializationException.ErrorCode
- Namespace
- Nerdbank.MessagePack
- Assembly
- Nerdbank.MessagePack.dll
Specified causes for serialization or deserialization failure.
public enum MessagePackSerializationException.ErrorCode
Fields
DisallowedNullValue = 2Deserialization failed because the data specified a null value for a non-nullable property.
DoublePropertyAssignment = 4Deserialization failed because the data specified multiple values for a single property.
MissingRequiredProperty = 1Deserialization failed because the data was missing a value for a required property.
UnexpectedExtensionTypeCode = 6Deserialization failed because a TypeCode was encountered that the deserializer was not expecting.
UnexpectedNull = 3Deserialization failed because the data specified a null token at an unexpected or disallowed place.
UnexpectedToken = 5Deserialization failed because the data contained a token that was not expected at this time.
Unspecified = 0No specific cause for the failure was set.