Exception: ActiveStorage::UnpreviewableError

Inherits:
Error
  • Object
show all
Defined in:
activestorage/lib/active_storage/errors.rb

Overview

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.