github.com/unidoc/unidoc@v2.2.0+incompatible/pdf/model/const.go (about)

     1  /*
     2   * This file is subject to the terms and conditions defined in
     3   * file 'LICENSE.md', which is part of this source code package.
     4   */
     5  
     6  package model
     7  
     8  import (
     9  	"errors"
    10  )
    11  
    12  var (
    13  	ErrRequiredAttributeMissing = errors.New("Required attribute missing")
    14  	ErrInvalidAttribute         = errors.New("Invalid attribute")
    15  	ErrTypeError                = errors.New("Type check error")
    16  
    17  	// ErrRangeError typically occurs when an input parameter is out of range or has invalid value.
    18  	ErrRangeError = errors.New("Range check error")
    19  )