class ActiveStorage::UnpreviewableError

Use ActiveStorage::Blob#previewable? to determine whether a blob is previewable.
Raised when ActiveStorage::Blob#preview is called on a blob that isn’t previewable.