Skip to content

fix: set RequestError name properly #243

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

Merged
merged 1 commit into from
May 26, 2025
Merged

fix: set RequestError name properly #243

merged 1 commit into from
May 26, 2025

Conversation

yusukebe
Copy link
Member

Fixes #169

We can't set the static property with static name = 'RequestError' in the RequestError class. The name property RequestError is already set.

CleanShot 2025-05-23 at 08 02 15@2x

So, I removed it and added a setter for the instance property.

@yusukebe
Copy link
Member Author

I'll merge this now. If you have any problems, let me know.

@yusukebe yusukebe merged commit ce8349e into main May 26, 2025
3 checks passed
@yusukebe yusukebe deleted the fix/request-error branch May 26, 2025 15:07
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.

Issue with RequestError having static name property
1 participant