GDError
public enum GDError : Swift.Error
Represents errors that can be thrown within the SwiftGD module.
- invalidFormat: Image raster format mismatch on import/export
- invalidImage: Contains the reason this error was thrown.
- invalidColor: Contains the reason this error was thrown.
- invalidMaxColors: Asserts sane values for creating indexed Images
-
Declaration
Swift
case invalidFormat
-
Declaration
Swift
case invalidImage(reason: String)
-
Declaration
Swift
case invalidColor(reason: String)
-
Declaration
Swift
case invalidMaxColors(reason: String)