MapEncodingError

public enum MapEncodingError : Error, CustomStringConvertible

An error that is returned when attempting to add an object to a Map.

  • Thrown when the key provided when trying to add a value to a map could not be parsed.

    Declaration

    Swift

    case invalidKey(key: MapKey)
  • Declaration

    Swift

    public var description: String { get }