type encoding/asn1.StructuralError

33 uses

	encoding/asn1 (current package)
		asn1.go#L37: type StructuralError struct {
		asn1.go#L41: func (e StructuralError) Error() string { return "asn1: structure error: " + e.Msg }
		asn1.go#L81: 		return StructuralError{"empty integer"}
		asn1.go#L87: 		return StructuralError{"integer not minimally-encoded"}
		asn1.go#L101: 		err = StructuralError{"integer too large"}
		asn1.go#L126: 		return 0, StructuralError{"integer too large"}
		asn1.go#L314: 			err = StructuralError{"base 128 integer too large"}
		asn1.go#L331: 				err = StructuralError{"base 128 integer too large"}
		asn1.go#L584: 				err = StructuralError{"length too large"}
		asn1.go#L591: 				err = StructuralError{"superfluous leading zeros in length"}
		asn1.go#L597: 			err = StructuralError{"non-minimal length"}
		asn1.go#L611: 		err = StructuralError{"unknown Go type for slice"}
		asn1.go#L636: 			err = StructuralError{"sequence tag mismatch"}
		asn1.go#L753: 			err = StructuralError{"explicit tag has no child"}
		asn1.go#L766: 					err = StructuralError{"zero length explicit tag was not an asn1.Flag"}
		asn1.go#L778: 				err = StructuralError{"explicitly tagged member didn't match"}
		asn1.go#L786: 		err = StructuralError{fmt.Sprintf("unknown Go type: %v", fieldType)}
		asn1.go#L845: 			err = StructuralError{fmt.Sprintf("tags don't match (%d vs %+v) %+v %s @%d", expectedTag, t, params, fieldType.Name(), offset)}
		asn1.go#L921: 				err = StructuralError{"struct contains unexported fields"}
		asn1.go#L990: 	err = StructuralError{"unsupported: " + v.Type().String()}
		marshal.go#L199: 		return nil, StructuralError{"empty integer"}
		marshal.go#L307: 		return nil, StructuralError{"invalid object identifier"}
		marshal.go#L322: 			return nil, StructuralError{"PrintableString contains invalid character"}
		marshal.go#L332: 			return nil, StructuralError{"IA5String contains invalid character"}
		marshal.go#L342: 			return nil, StructuralError{"NumericString contains invalid character"}
		marshal.go#L402: 		return nil, StructuralError{"cannot represent time as UTCTime"}
		marshal.go#L411: 		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#L663: 			return nil, StructuralError{"non sequence tagged as set"}