type encoding/asn1.StructuralError

33 uses

	encoding/asn1 (current package)
		asn1.go#L38: type StructuralError struct {
		asn1.go#L42: func (e StructuralError) Error() string { return "asn1: structure error: " + e.Msg }
		asn1.go#L82: 		return StructuralError{"empty integer"}
		asn1.go#L88: 		return StructuralError{"integer not minimally-encoded"}
		asn1.go#L102: 		err = StructuralError{"integer too large"}
		asn1.go#L127: 		return 0, StructuralError{"integer too large"}
		asn1.go#L306: 			err = StructuralError{"base 128 integer too large"}
		asn1.go#L323: 				err = StructuralError{"base 128 integer too large"}
		asn1.go#L576: 				err = StructuralError{"length too large"}
		asn1.go#L583: 				err = StructuralError{"superfluous leading zeros in length"}
		asn1.go#L589: 			err = StructuralError{"non-minimal length"}
		asn1.go#L603: 		err = StructuralError{"unknown Go type for slice"}
		asn1.go#L628: 			err = StructuralError{"sequence tag mismatch"}
		asn1.go#L747: 			err = StructuralError{"explicit tag has no child"}
		asn1.go#L760: 					err = StructuralError{"zero length explicit tag was not an asn1.Flag"}
		asn1.go#L772: 				err = StructuralError{"explicitly tagged member didn't match"}
		asn1.go#L780: 		err = StructuralError{fmt.Sprintf("unknown Go type: %v", fieldType)}
		asn1.go#L839: 			err = StructuralError{fmt.Sprintf("tags don't match (%d vs %+v) %+v %s @%d", expectedTag, t, params, fieldType.Name(), offset)}
		asn1.go#L915: 				err = StructuralError{"struct contains unexported fields"}
		asn1.go#L984: 	err = StructuralError{"unsupported: " + v.Type().String()}
		marshal.go#L197: 		return nil, StructuralError{"empty integer"}
		marshal.go#L305: 		return nil, StructuralError{"invalid object identifier"}
		marshal.go#L320: 			return nil, StructuralError{"PrintableString contains invalid character"}
		marshal.go#L330: 			return nil, StructuralError{"IA5String contains invalid character"}
		marshal.go#L340: 			return nil, StructuralError{"NumericString contains invalid character"}
		marshal.go#L399: 		return nil, StructuralError{"cannot represent time as UTCTime"}
		marshal.go#L408: 		return nil, StructuralError{"cannot represent time as GeneralizedTime"}
		marshal.go#L489: 				return nil, StructuralError{"struct contains unexported fields"}
		marshal.go#L573: 	return nil, StructuralError{"unknown Go type"}
		marshal.go#L623: 		return nil, StructuralError{fmt.Sprintf("unknown Go type: %v", v.Type())}
		marshal.go#L627: 		return nil, StructuralError{"explicit time type given to non-time member"}
		marshal.go#L631: 		return nil, StructuralError{"explicit string type given to non-string member"}
		marshal.go#L660: 			return nil, StructuralError{"non sequence tagged as set"}