unipdf/pdf/model/const.go
2018-07-02 16:46:43 +10:00

21 lines
653 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")
ErrBadText = errors.New("Could not decode text")
)