 ///  - GettingJSONDataFailed:          Getting image information from the given JSON file failed.
 ///  - MissingImage:                   The user didn't supply an image.
 ///  - GettingPNGRepresentationFailed: Creating the png representation failed.
-enum ImageSetError: ErrorProtocol {
+enum ImageSetError: Error {
   case rescalingImageFailed
   case gettingJSONDataFailed
   case missingImage

/// Error types for NSImageExtension
///
/// - UnwrappingPNGRepresentationFailed: Getting the png rep. for the current image failed.
enum NSImageExtensionError: ErrorProtocol {
  case unwrappingPNGRepresentationFailed
}

///  - MissingDataForImageOrientation: Missing information about the orientation for the new image.
///  - MissingDataForImageIdiom:       Missing information about the idiom for the new image.
///  - FormatError:                    Image format error.
enum LaunchImageError: Error {
  case missingImage
  case missingDataForImageWidth
  case missingDataForImageHeight
