-
Notifications
You must be signed in to change notification settings - Fork 287
Add missing throws documentation to rosbag_cpp writer open() #1788 #1789
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: rolling
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -77,6 +77,12 @@ class ROSBAG2_CPP_PUBLIC SequentialWriter | |||||||||||||||||||||
| * | ||||||||||||||||||||||
| * \param storage_options Options to configure the storage | ||||||||||||||||||||||
| * \param converter_options options to define in which format incoming messages are stored | ||||||||||||||||||||||
| * \throws runtime_error if | ||||||||||||||||||||||
| * database directory already exists, | ||||||||||||||||||||||
| * failed to create database directory, | ||||||||||||||||||||||
| * no storage could be initialized, | ||||||||||||||||||||||
| * invalid bag splitting size given, | ||||||||||||||||||||||
| * max cache size less or equal 0 when snapshot mode is enabled. | ||||||||||||||||||||||
|
||||||||||||||||||||||
| * \throws runtime_error if | |
| * database directory already exists, | |
| * failed to create database directory, | |
| * no storage could be initialized, | |
| * invalid bag splitting size given, | |
| * max cache size less or equal 0 when snapshot mode is enabled. | |
| * \throws runtime_error if database directory already exists, | |
| * failed to create database directory, no storage could be initialized, | |
| * invalid bag splitting size given, | |
| * max cache size less or equal 0 when snapshot mode is enabled. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree that introduces some maintenance hazard keeping doc and implementation in sync, but it could be practical to have it there.
I'd also be fine with just a hint at some general throw behavior here.
So I'd leave it up to any reviewer as I am not too familiar with the style use throughout the rest of the codebase.
Uh oh!
There was an error while loading. Please reload this page.