question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Better exception message when configuring/asserting a non-fake object

See original GitHub issue

Extracted 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:closed
  • Created 7 years ago
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

2reactions
thomaslevesquecommented, Jul 14, 2016

Released in 2.2.0, thanks @blairconrad!

0reactions
blairconradcommented, Jul 14, 2016

Oh, I didn’t know I got thanks. Thank you, sir!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found