IAError

public enum IAError : Error
extension IAError: LocalizedError

IAError is the error type returned by itSeez3dAvatarSDK. It encompasses a few different types of errors, each with its own associated reasons.

  • sendingFailed: Returned when sending process fails.
  • downloadingModelFailed: Returned when some step in the model downloading process fails.
  • downloadingHaircutFailed: Returned when some step in the haircut downloading process fails.
  • emptyCacheError: Returned when cache for the requested object is empty.
  • DownloadingError is the error type returned in the case of file downloading error.

    • networkError: The error URL request finished with.
    • unzipError: The error unzipping process failed with.
    See more

    Declaration

    Swift

    public enum DownloadingError : Error
    extension IAError.DownloadingError: LocalizedError
  • The underlying reason of model downloading error.

    • retriveStatusFailed: The error status retriving process finished with.
    • downloadingFailed: The error files downloading process finished with.

    Declaration

    Swift

    public enum DownloadingModelFailureReason
  • The underlying reason of haircut downloading error.

    • downloadingBaseHaircutFailed: The error base haircut files downloading process finished with.
    • downloadingModelHaircutFailed: The error model haircut files downloading process finished with.

    Declaration

    Swift

    public enum DownloadingHaircutFailureReason
  • Declaration

    Swift

    public var errorDescription: String? { get }