SetProfilePhotoError

public enum SetProfilePhotoError : CustomStringConvertible

The SetProfilePhotoError union

  • File cannot be set as profile photo.

    Declaration

    Swift

    case fileTypeError
  • File cannot exceed 10 MB.

    Declaration

    Swift

    case fileSizeError
  • Image must be larger than 128 x 128.

    Declaration

    Swift

    case dimensionError
  • Image could not be thumbnailed.

    Declaration

    Swift

    case thumbnailError
  • Temporary infrastructure failure, please retry.

    Declaration

    Swift

    case transientError
  • An unspecified error.

    Declaration

    Swift

    case other
  • Declaration

    Swift

    public var description: String { get }