mirror of
https://github.com/unidoc/unipdf.git
synced 2025-05-02 22:17:06 +08:00
21 lines
653 B
Go
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")
|
|
)
|