Closed jeevanghimire closed 1 week ago
it shows 2 previous commits in this PR, next time create a local branch when you've pulled from the updated repo to only have a commit related to the issue.
Remove the Introduction section after the summary (not the one in the top) in the noterror/README.md
file.
you have exactly done what i requested not to do.
look at line 45 at noterror/README.md
copy the line and paste it at top in Introduction section.
Ohh Sorry I mistakly remove from top section I will fix it and commit the changes !!
That should do the job now !
Describe your changes
Implemented a robust error-handling mechanism for file operations, memory allocation, and network communication in C. This includes centralized error codes, logging errors into a file (
error_log.txt
), and gracefully exiting the program during critical errors like memory allocation failure. A macro was used to simplify error handling, capturing function names and line numbers for better traceability.Context
This PR addresses the need for structured error handling in the program, allowing for better debugging, logging, and graceful exits during critical failures such as memory allocation errors.
Closes #7
Checklist before requesting a review
This includes all the required tick marks as requested!