type encoding/asn1.StructuralError

34 uses

	encoding/asn1 (current package)
		asn1.go#L40: type StructuralError struct {
		asn1.go#L44: func (e StructuralError) Error() string { return "asn1: structure error: " + e.Msg }
		asn1.go#L84: 		return StructuralError{"empty integer"}
		asn1.go#L90: 		return StructuralError{"integer not minimally-encoded"}
		asn1.go#L104: 		err = StructuralError{"integer too large"}
		asn1.go#L129: 		return 0, StructuralError{"integer too large"}
		asn1.go#L308: 			err = StructuralError{"base 128 integer too large"}
		asn1.go#L325: 				err = StructuralError{"base 128 integer too large"}
		asn1.go#L609: 				err = StructuralError{"length too large"}
		asn1.go#L616: 				err = StructuralError{"superfluous leading zeros in length"}
		asn1.go#L622: 			err = StructuralError{"non-minimal length"}
		asn1.go#L636: 		err = StructuralError{"unknown Go type for slice"}
		asn1.go#L661: 			err = StructuralError{"sequence tag mismatch"}
		asn1.go#L717: 		return initOffset, StructuralError{"nesting depth exceeded"}
		asn1.go#L795: 			err = StructuralError{"explicit tag has no child"}
		asn1.go#L808: 					err = StructuralError{"zero length explicit tag was not an asn1.Flag"}
		asn1.go#L820: 				err = StructuralError{"explicitly tagged member didn't match"}
		asn1.go#L828: 		err = StructuralError{fmt.Sprintf("unknown Go type: %v", fieldType)}
		asn1.go#L896: 			err = StructuralError{fmt.Sprintf("tags don't match (%d vs %+v) %+v %s @%d", expectedTag, t, params, fieldType.Name(), offset)}
		asn1.go#L972: 				err = StructuralError{"struct contains unexported fields"}
		asn1.go#L1041: 	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#L492: 				return nil, StructuralError{"struct contains unexported fields"}
		marshal.go#L576: 	return nil, StructuralError{"unknown Go type"}
		marshal.go#L626: 		return nil, StructuralError{fmt.Sprintf("unknown Go type: %v", v.Type())}
		marshal.go#L630: 		return nil, StructuralError{"explicit time type given to non-time member"}
		marshal.go#L634: 		return nil, StructuralError{"explicit string type given to non-string member"}
		marshal.go#L664: 			return nil, StructuralError{"non sequence tagged as set"}