Files
opencloud/services/webdav/pkg/preprocessor/errors.go
T
Dominik Schmidt 0c4f5b04b9 feat(webdav): thumbnails through a Tika server
Every file the built-in converters cannot render goes to /unpack/thumbnail
(Tika 4.1) and comes back with the image Tika marks as its thumbnail.
2026-09-07 15:32:12 +02:00

11 lines
541 B
Go

package preprocessor
import "errors"
var (
ErrNoImageFromAudioFile = errors.New("preprocessor: could not extract image from audio file")
ErrNoConverterForExtractedImageFromGgsFile = errors.New("preprocessor: could not find converter for image extracted from ggs file")
ErrNoConverterForExtractedImageFromAudioFile = errors.New("preprocessor: could not find converter for image extracted from audio file")
ErrNoThumbnail = errors.New("preprocessor: the document has no thumbnail")
)