unipdf/pdf/model/const.go
2018-07-15 16:28:56 +10:00

21 lines
682 B
Go

/*
* This file is subject to the terms and conditions defined in
* file 'LICENSE.md', which is part of this source code package.
*/
package model
import (
"errors"
)
var (
ErrRequiredAttributeMissing = errors.New("required attribute missing")
ErrInvalidAttribute = errors.New("invalid attribute")
ErrEncrypted = errors.New("file needs to be decrypted first")
ErrNoFont = errors.New("font not defined")
ErrFontNotSupported = errors.New("unsupported font")
ErrType1CFontNotSupported = errors.New("Type1C fonts are not currently supported")
ErrTTCmapNotSupported = errors.New("unsupported TrueType cmap format")
)