github.com/songzhibin97/gkit@v1.2.13/tools/error.go (about)

     1  package tools
     2  
     3  import "errors"
     4  
     5  var (
     6  	ErrorMustPtr       = errors.New("dst or src must ptr")
     7  	ErrorNoEquals      = errors.New("dst and src must equal type")
     8  	ErrorMustStructPtr = errors.New("dst or src must struct ptr")
     9  	ErrorInvalidValue  = errors.New("invalid value")
    10  )