github.com/geniusesgroup/libgo@v0.0.0-20220713101832-828057a9d3d4/ipv6/errors.go (about) 1 /* For license and copyright information please see LEGAL file in repository */ 2 3 package ipv6 4 5 import ( 6 er "../error" 7 "../mediatype" 8 "../protocol" 9 ) 10 11 const domainEnglish = "IPv6" 12 const domainPersian = "IPv6" 13 14 // Errors 15 var ( 16 ErrPacketTooShort = er.New(mediatype.New("domain/ipv6.protocol.error; name=packet-too-short").SetDetail(protocol.LanguageEnglish, domainEnglish, 17 "Packet Too Short", 18 "IPv6 packet is empty or too short than standard minimum size. It must include at least 40Byte header", 19 "", 20 "", 21 nil). 22 Expired(0, nil)) 23 )