2017-04-19 11:46:53 +00:00
|
|
|
/*
|
|
|
|
* This file is subject to the terms and conditions defined in
|
|
|
|
* file 'LICENSE.md', which is part of this source code package.
|
|
|
|
*/
|
|
|
|
|
|
|
|
package core
|
|
|
|
|
|
|
|
import "errors"
|
|
|
|
|
|
|
|
var (
|
2017-08-02 12:56:32 +00:00
|
|
|
// ErrUnsupportedEncodingParameters error indicates that encoding/decoding was attempted with unsupported
|
|
|
|
// encoding parameters.
|
|
|
|
// For example when trying to encode with an unsupported Predictor (flate).
|
2017-04-19 11:46:53 +00:00
|
|
|
ErrUnsupportedEncodingParameters = errors.New("Unsupported encoding parameters")
|
2017-08-07 13:36:39 +10:00
|
|
|
ErrNoCCITTFaxDecode = errors.New("CCITTFaxDecode encoding is not yet implemented")
|
|
|
|
ErrNoJBIG2Decode = errors.New("JBIG2Decode encoding is not yet implemented")
|
|
|
|
ErrNoJPXDecode = errors.New("JPXDecode encoding is not yet implemented")
|
2018-06-27 16:31:28 +10:00
|
|
|
ErrNoPdfVersion = errors.New("Version not found")
|
2018-06-27 16:46:33 +10:00
|
|
|
ErrTypeCheck = errors.New("Type check error")
|
2018-07-03 14:26:42 +10:00
|
|
|
ErrNotSupported = errors.New("Feature not currently supported")
|
|
|
|
ErrFontNotSupported = errors.New("Unsupported font")
|
2017-04-19 11:46:53 +00:00
|
|
|
)
|