DeserializationFailureReason

public enum DeserializationFailureReason

The underlying reason the deserialization fails.

  • The format is unknown.

    Declaration

    Swift

    case unknownFormat
  • There is a missing field.

    Declaration

    Swift

    case missingField(String)
  • There is an invalid field.

    Declaration

    Swift

    case invalidField(String, value: Any?)
  • Failure due to some other error.

    Declaration

    Swift

    case failed(error: Error)