Skip to content
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

456-fix-error-codes #475

Open
wants to merge 8 commits into
base: latest
Choose a base branch
from
Open

Conversation

Ankaa19
Copy link

@Ankaa19 Ankaa19 commented Nov 3, 2024

add errors to facility functions #456

Error handling code was created for the following functions:

  • stumpless_get_facility_string
  • stumpless_get_facility_enum
  • stumpless_get_facility_enum_from_buffer

Copy link
Owner

@goatshriek goatshriek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's unclear to me why you've chosen to implement a file-specific error code instead of using the error code functionality already present in the library.

Please rework this change to use the library's existing error code functions (defined in src/error.c and used extensively throughout the project).

include/private/.idea/.gitignore Show resolved Hide resolved
@Ankaa19
Copy link
Author

Ankaa19 commented Nov 7, 2024

hello, I change my pull request according to your comment. Is it ok?

@goatshriek
Copy link
Owner

Please remove the .idea folder from the commits, and add tests as described in the original issue.

@Ankaa19
Copy link
Author

Ankaa19 commented Nov 21, 2024

Hello,
sorry for delay. I was sick. I added tests according to the requirements in the issue to the pull request.
Please check it and if it's ok could you merge it?

@goatshriek
Copy link
Owner

You'll need to get the tests passing, of course. From the one that I looked at you'll probably need to do a few rounds of tweaks and rebuilds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants