Skip to Content Skip to Search

class ActiveStorage::UnpreviewableError

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

Inherits From

Definition files