bobhan1 opened a new issue, #23825:
URL: https://github.com/apache/doris/issues/23825

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Description
   
   Recently, we have encountered serious problems many times due to forgetting 
to handle the returned error codes. We found that he current code base has a 
lot of discarded returned error codes(see #23395). While some of them are 
ignored intentionally, some of them are forgotten by the developers to write 
the error handling logic. So we decide to make `class Status` `[[nodiscard]]` 
to force the developers to consider error handling seriously.
   
   ### Solution
   
   Make `class Status` `[[nodiscard]]` to force the developer to consider error 
handling seriously.
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to