package anyUtil import ( "errors" "strconv" ) var ( // ErrSyntax indicates that a value does not have the right syntax for the target type // 指示值不具有目标类型的正确语法 ErrSyntax = strconv.ErrSyntax // ErrType indicates that a value does not have the right syntax for the target type // 指示值不具有目标类型的正确语法 ErrType = errors.New("unsupported type") // ErrValOut Indicates that the range corresponding to the type is exceeded // 表示超出了类型对应的范围 ErrValOut = errors.New("value out of range") // ErrUnsignedInt The identity type is negative, so it cannot be converted to an unsigned integer // 标识类型为负数,所以无法转为无符号的整型 ErrUnsignedInt = errors.New("cannot convert negative value to unsigned integer") )