Versions in this module Expand all Collapse all v0 v0.4.1 Jul 9, 2019 v0.4.0 Jun 20, 2019 Changes in this version + var ErrAuthenticationRequired = DfError + var ErrCDNFail = DfError + var ErrCDNWait = DfError + var ErrConvertFailed = DfError + var ErrDataNotFound = DfError + var ErrEmptyValue = DfError + var ErrInvalidValue = DfError + var ErrNotInitialized = DfError + var ErrPeerWait = DfError + var ErrRangeNotSatisfiable = DfError + var ErrSystemError = DfError + var ErrTaskIDDuplicate = DfError + var ErrURLNotReachable = DfError + var ErrUnknowError = DfError + var PeerContinue = DfError + func IsAuthenticationRequired(err error) bool + func IsCDNFail(err error) bool + func IsCDNWait(err error) bool + func IsConvertFailed(err error) bool + func IsDataNotFound(err error) bool + func IsEmptyValue(err error) bool + func IsInvalidValue(err error) bool + func IsNilError(err error) bool + func IsNotInitialized(err error) bool + func IsPeerContinue(err error) bool + func IsPeerWait(err error) bool + func IsRangeNotSatisfiable(err error) bool + func IsSystemError(err error) bool + func IsTaskIDDuplicate(err error) bool + func IsURLNotReachable(err error) bool + func IsUnknowError(err error) bool + type DfError struct + Code int + Msg string + func New(code int, msg string) *DfError + func Newf(code int, format string, a ...interface{}) *DfError + func (s DfError) Error() string