Skip to content

Commit

Permalink
Add back public error values that were removed in airbnb#1969 (airbnb…
Browse files Browse the repository at this point in the history
  • Loading branch information
calda authored and Igor Moroz committed May 22, 2024
1 parent ca10786 commit fbfae32
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Sources/Private/Model/DotLottie/DotLottieUtils.swift
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,11 @@ public enum DotLottieError: Error {
case assetNotFound(name: String, bundle: Bundle?)
/// Animation loading from asset is not supported on macOS 10.10.
case loadingFromAssetNotSupported

@available(*, deprecated, message: "Unused")
case invalidFileFormat
@available(*, deprecated, message: "Unused")
case invalidData
@available(*, deprecated, message: "Unused")
case animationNotAvailable
}

0 comments on commit fbfae32

Please sign in to comment.