class Paperclip::Errors::NotIdentifiedByImageMagickError

Will be thrown when ImageMagic cannot determine the uploaded file’s metadata, usually this would mean the file is not an image.