Details
-
Bug
-
Resolution: Done
-
Minor - P4
-
None
-
None
Description
There are several throw calls that doesn't seem to have any corresponding documentation. Some may be internal, but many look like they are not:
src/bsoncxx/builder/core.cpp
|
73: throw bsoncxx::exception{error_code::k_cannot_perform_document_operation_on_array};
|
85: throw bsoncxx::exception{error_code::k_cannot_perform_array_operation_on_document};
|
123: throw bsoncxx::exception{error_code::k_need_key};
|
207: throw bsoncxx::exception{error_code::k_cannot_append_key_in_sub_array};
|
214: throw bsoncxx::exception{error_code::k_cannot_append_key_in_sub_array};
|
438: throw bsoncxx::exception{error_code::k_cannot_close_document_in_sub_array};
|
442: throw bsoncxx::exception{error_code::k_no_document_to_close};
|
450: throw bsoncxx::exception{error_code::k_cannot_close_array_in_sub_document};
|
454: throw bsoncxx::exception{error_code::k_no_array_to_close};
|
462: throw bsoncxx::exception{error_code::k_unmatched_key_in_builder};
|
470: throw bsoncxx::exception{error_code::k_unmatched_key_in_builder};
|
478: throw bsoncxx::exception{error_code::k_unmatched_key_in_builder};
|
486: throw bsoncxx::exception{error_code::k_unmatched_key_in_builder};
|