unipdf/pdf/model/const.go
2018-06-27 14:34:42 +10:00

20 lines
586 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")
ErrTypeError = errors.New("Type check error")
ErrRangeError = errors.New("Range check error")
ErrEncrypted = errors.New("File needs to be decrypted first")
ErrUnsupportedFont = errors.New("Unsupported font type")
)