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

refactor: Use NoMethodError for base classes #487

Merged
merged 1 commit into from
Aug 13, 2024

Conversation

blowmage
Copy link
Contributor

It is not advisable to raise NotImplementedError for errors that are not platform errors, such as fsync or fork.
Replace with NoMethodError, which inherits from StandardError.

It is not advisable to raise  NotImplementedError for errors that
are not platform errors, such as fsync or fork.
Replace with NoMethodError, which inherits from StandardError.
@blowmage blowmage requested a review from a team as a code owner August 12, 2024 20:11
Copy link
Member

@dazuma dazuma left a comment

Choose a reason for hiding this comment

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

Good call. Thanks!

@dazuma dazuma merged commit a09df25 into googleapis:main Aug 13, 2024
10 checks passed
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