unipdf/pdf/model/const.go

21 lines
653 B
Go
Raw Normal View History

2017-04-05 18:05:38 +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 model
import (
"errors"
)
var (
ErrRequiredAttributeMissing = errors.New("Required attribute missing")
ErrInvalidAttribute = errors.New("Invalid attribute")
ErrTypeError = errors.New("Type check error")
ErrRangeError = errors.New("Range check error")
2018-06-27 14:34:42 +10:00
ErrEncrypted = errors.New("File needs to be decrypted first")
ErrUnsupportedFont = errors.New("Unsupported font type")
2018-07-02 16:46:43 +10:00
ErrBadText = errors.New("Could not decode text")
)