 ///  - CastingJSONToDictionaryFailed: Casting the supplied JSON file to a Dictionary failed.
 ///  - GettingImagesArrayFailed:      Getting the information which images to generate failed.
 ///  - WritingContentsJSONFailed:     Saving the Contents.json for the asset catalog failed.
-enum ContentsJSONError: ErrorProtocol {
+enum ContentsJSONError: Error {
   case fileNotFound
   case castingJSONToDictionaryFailed
   case gettingImagesArrayFailed

///  - MissingDataForImageSize: Missing information about the size of the new image.
///  - MissingDataForImageName: Missing information about the name of the new image.
///  - FormatError:             Image format error.
enum AppIconError: ErrorProtocol {
  case missingImage
  case missingDataForImageSize
  case missingDataForImageName

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