Files
opencloud/services/webdav/pkg/preprocessor/errors.go
T
Dominik Schmidt f18e3f9911 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-11-06 10:20:16 +01:00

12 lines
676 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")
ErrNoConverterForExtractedImageFromGgpFile = errors.New("preprocessor: could not find converter for image extracted from ggp file")
ErrNoThumbnail = errors.New("preprocessor: the document has no thumbnail")
)