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

An Error Type for Selector::parse #95

Merged
merged 17 commits into from Dec 19, 2022
Merged

Conversation

Kiwifuit
Copy link
Contributor

I might be adding different error types if needed, but for now the error type for Selector::parse's Result is now a custom type that is exported.
This PR resolves #60
Improvements to the code are welcome

@cfvescovo cfvescovo self-assigned this Dec 17, 2022
@cfvescovo
Copy link
Collaborator

LGTM even though some readability improvements would be welcome

@teymour-aldridge
Copy link
Collaborator

I think it makes sense to implement Error for this type.

@Kiwifuit
Copy link
Contributor Author

I would really appreciate if this fork gets merged ASAP as I need these changes to continue working on a project

src/error.rs Show resolved Hide resolved
@cfvescovo
Copy link
Collaborator

Looking into this rn, will be back ASAP

src/error/utils.rs Outdated Show resolved Hide resolved
src/selector.rs Outdated Show resolved Hide resolved
src/error.rs Outdated Show resolved Hide resolved
src/error/utils.rs Outdated Show resolved Hide resolved
src/error/utils.rs Outdated Show resolved Hide resolved
Copy link
Collaborator

@cfvescovo cfvescovo left a comment

Choose a reason for hiding this comment

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

Alright, here are some more changes

src/error/utils.rs Outdated Show resolved Hide resolved
@cfvescovo cfvescovo merged commit 3fba089 into causal-agent:master Dec 19, 2022
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.

Consider exporting common errors thrown by this crate
3 participants