-
-
Notifications
You must be signed in to change notification settings - Fork 218
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
Return status code instead of bool in IParser #737
Labels
easy hacks
The solution is expected to be straightforward even if you are new to the project
help wanted
An important and awaited task but we have no human resources for it yet
refactoring
Milestone
Comments
gavv
added
refactoring
help wanted
An important and awaited task but we have no human resources for it yet
labels
Jun 23, 2024
gavv
added
the
much-needed
This issue is needed most among other help-wanted issues
label
Jul 13, 2024
gavv
changed the title
Return status code instead of bool in IParser & IComposer
Return status code instead of bool in IParser
Jul 26, 2024
gavv
added
easy hacks
The solution is expected to be straightforward even if you are new to the project
and removed
much-needed
This issue is needed most among other help-wanted issues
labels
Jul 26, 2024
hey, is it alright if i take this up? |
@sprinkuls Sure, thanks! |
gavv
pushed a commit
to sprinkuls/roc-toolkit
that referenced
this issue
Jan 16, 2025
gavv
pushed a commit
that referenced
this issue
Jan 16, 2025
gavv
added a commit
to gavv/roc-toolkit
that referenced
this issue
Jan 16, 2025
- Add ROC_ATTR_NODISCARD - Forward status in fec::BlockReader - Logging - Use StatusBadPacket instead of StatusBadBuffer - Use LONGS_EQUAL
7 tasks
Implementation merged, for tests I've created a separate issue: #792 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
easy hacks
The solution is expected to be straightforward even if you are new to the project
help wanted
An important and awaited task but we have no human resources for it yet
refactoring
Summary
packet::IParser is interface for protocol-specific deserializators. See documentation.
Currently its methods return bool (true on success or false on error). We need to replace bool with status::StatusCode and return code that described why the operation failed.
Implementation
Testing
The text was updated successfully, but these errors were encountered: