google.golang.org/protobuf/internal/impl.Export.NewError (method)

19 uses

	google.golang.org/protobuf/internal/impl (current package)
		api_export.go#L25: func (Export) NewError(f string, x ...interface{}) error {

	google.golang.org/protobuf/types/known/anypb
		any.pb.go#L265: 		return protoimpl.X.NewError("invalid nil source message")
		any.pb.go#L283: 		return protoimpl.X.NewError("invalid nil source message")
		any.pb.go#L288: 		return protoimpl.X.NewError("mismatched message type: got %q, want %q", got, want)
		any.pb.go#L302: 		return nil, protoimpl.X.NewError("invalid empty type URL")
		any.pb.go#L316: 		return nil, protoimpl.X.NewError("could not resolve %q: %v", src.GetTypeUrl(), err)

	google.golang.org/protobuf/types/known/durationpb
		duration.pb.go#L208: 		return protoimpl.X.NewError("invalid nil Duration")
		duration.pb.go#L210: 		return protoimpl.X.NewError("duration (%v) exceeds -10000 years", x)
		duration.pb.go#L212: 		return protoimpl.X.NewError("duration (%v) exceeds +10000 years", x)
		duration.pb.go#L214: 		return protoimpl.X.NewError("duration (%v) has out-of-range nanos", x)
		duration.pb.go#L216: 		return protoimpl.X.NewError("duration (%v) has seconds and nanos with different signs", x)

	google.golang.org/protobuf/types/known/fieldmaskpb
		field_mask.pb.go#L366: 		return protoimpl.X.NewError("invalid path %q for message %q", paths[0], name)

	google.golang.org/protobuf/types/known/structpb
		struct.pb.go#L207: 			return nil, protoimpl.X.NewError("invalid UTF-8 in string: %q", k)
		struct.pb.go#L340: 			return nil, protoimpl.X.NewError("invalid UTF-8 in string: %q", v)
		struct.pb.go#L359: 		return nil, protoimpl.X.NewError("invalid type: %T", v)

	google.golang.org/protobuf/types/known/timestamppb
		timestamp.pb.go#L214: 		return protoimpl.X.NewError("invalid nil Timestamp")
		timestamp.pb.go#L216: 		return protoimpl.X.NewError("timestamp (%v) before 0001-01-01", x)
		timestamp.pb.go#L218: 		return protoimpl.X.NewError("timestamp (%v) after 9999-12-31", x)
		timestamp.pb.go#L220: 		return protoimpl.X.NewError("timestamp (%v) has out-of-range nanos", x)