Better exception message when configuring/asserting a non-fake object
See original GitHub issueExtracted from #681
Currently:
The current proxy generator can not intercept the specified method for the following reason:
- Sealed methods can not be intercepted.
better would be something like
The current proxy generator can not intercept the specified method for the following reason:
- The object is not a fake.
Issue Analytics
- State:
- Created 7 years ago
- Comments:11 (11 by maintainers)
Top Results From Across the Web
Better exception messages on UiElement not found - Studio
I was wondering if there is a way to make this exception message more specific, so we know which element was not found....
Read more >Better Exceptions: This Can Tell You What Mods Are Breaking ...
Better Exceptions is a mod that can typically locate what mods caused your game to generate an exception and provide you with a...
Read more >Better Exceptions V2.03
EDIT: The reason is stated as following: Exception in Sim Timeline: Exception running Element (AttributeError: 'Species' object has no attribute ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Released in 2.2.0, thanks @blairconrad!
Oh, I didn’t know I got thanks. Thank you, sir!