func (e *InvalidTypeError) Error() string {
	return fmt.Sprintf("got invalid type: %d", e.Type)
}
Error returns message with the invalid type given.
package ie
import (
	"errors"
	"fmt"
)
var (
	ErrTooShortToParse = errors.New("too short to decode as GTP")
	ErrInvalidLength   = errors.New("length value is invalid")
	ErrInvalidType = errors.New("invalid type")
	ErrIENotFound  = errors.New("could not find the specified IE in a grouped IE")
	ErrMalformed = errors.New("malformed IE")
	ErrElementNotFound = errors.New("element not found")
)
type InvalidTypeError struct {
	Type uint16
}