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

Updated Error Names #536

Merged
merged 2 commits into from
Feb 1, 2024
Merged

Updated Error Names #536

merged 2 commits into from
Feb 1, 2024

Conversation

Nj221102
Copy link
Contributor

@Nj221102 Nj221102 commented Feb 1, 2024

Description

Made error names consistent

Checklist

  • Run tests locally


class BadLinkableIdError < Shoes::Error; end

class UnregisteredShoesEvent < Shoes::Error; end
class UnregisteredShoesError < Shoes::Error; end
Copy link
Collaborator

Choose a reason for hiding this comment

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

In this case it's for an unregistered Shoes event. So we'd like to keep the word Event but add Error. Same for DoubleRegistered below.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ok working on it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@noahgibbs is it good now? or need further changes

@noahgibbs noahgibbs merged commit 3c2cf0d into scarpe-team:main Feb 1, 2024
1 check passed
@noahgibbs
Copy link
Collaborator

Looks great! Merged.

@Nj221102 Nj221102 deleted the Errors branch February 2, 2024 06:45
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