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

JS: make CoerceError inherit Error, fixing console log #1832

Merged
merged 1 commit into from
Jun 22, 2024

Conversation

exyi
Copy link
Member

@exyi exyi commented Jun 21, 2024

JavaScript is happy throwing any objects, but it doesn't neccessarily show it well in the console (Only something like "Uncaught {...}"). When the class extends error, it has the correct toString conversion

Resolves #1831

JavaScript is happy throwing any objects, but it doesn't neccessarily show it well in the console
(Only something like "Uncaught {...}").
When the class extends error, it has the correct toString conversion

Resolves #1831
@exyi exyi added this to the Version 4.2 milestone Jun 22, 2024
@exyi exyi merged commit 438bd02 into main Jun 22, 2024
15 checks passed
@exyi exyi deleted the fix-CoerceError-message branch June 22, 2024 18:44
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.

Better client-side error when viewmodel fails to deserialize
2 participants