MONGOC_GRIDFS...T_STREAM_ERROR(3)
π MONGOC_GRIDFS...T_STREAM_ERROR(3) β¨
okay bestie, welcome to the libmongoc corner of the manual β this one's a tiny lil function and honestly? she's giving quiet luxury. no drama, just vibes and error checking π«Ά
β¨ SYNOPSIS β¨
bool
mongoc_gridfs_bucket_stream_error (mongoc_stream_t *stream,
bson_error_t *error);
that's the whole thing. one function, two args, returns a bool. slay π
π PARAMETERS π
streamβ amongoc_stream_tthat you got frommongoc_gridfs_bucket_open_upload_stream(),mongoc_gridfs_bucket_open_upload_stream_with_id(), ormongoc_gridfs_bucket_open_download_stream(). like, it has to be one of those three, iykyk. don't just hand her any random stream and expect her to know what's up πerrorβ abson_error_tthat receives the possible error. she's the vessel. the messenger. the error girlie if you will π¬
π¦ DESCRIPTION π¦
so basically: this function retrieves an error for a GridFS stream, if one exists. that's it. that's the whole function. sometimes there's an error, sometimes there isn't, and she will let you know πΈ
π RETURNS π
Trueif an error occurred on the stream β and it setserrorfor you, so you can go read the tea βFalseotherwise. no error, no problem, we're so back β¨
π SEE ALSO π
mongoc_gridfs_bucket_open_upload_stream()mongoc_gridfs_bucket_open_upload_stream_with_id()mongoc_gridfs_bucket_open_download_stream()
like the stream girls. the ones that made your stream in the first place. go read those too, they're literally in the same friend group π
π AUTHOR π
MongoDB, Inc β yes ma'am, the whole company π
π COPYRIGHT π
2009-present, MongoDB, Inc. β iconic behavior, honestly π
ok that's the whole page bestie. short, sweet, and to the point. go check your error var and live ur truth π
β§ο½₯οΎ: β§ο½₯οΎ: this has been libmongoc version 2.5.6, dated Oct 09, 2026 β love u, mean it, bye π§π
π¦ where this page comes from
- epel 10: mongo-c-driver-devel 2.5.6-1.el10_3 Β· Apache-2.0 AND ISC AND MIT AND Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms