ImageExporterError

public enum ImageExporterError : Error, CustomStringConvertible

An error describing why an image export failed.

  • The export was cancelled by the user.

    Declaration

    Swift

    case cancelled
  • The image was exported with a watermark because the API key was not provided or is invalid.

    This error can only be produced when an app is in production with an API key, otherwise a log warning will be produced.

    Declaration

    Swift

    case watermarked
  • Exports are not allowed in the background application state.

    Declaration

    Swift

    case backgroundState
  • Metal is only supported on iOS 11+ physical devices and iOS 13+ simulators.

    Declaration

    Swift

    case metalSupport
  • The image was already destroyed and cannot be exported.

    Declaration

    Swift

    case destroyed
  • An internal error occurred.

    Declaration

    Swift

    case internalError(Error)