You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
See #1676. User's think that not returning a string or other non-object is an error when newing up objects. We should rather explicitly throw an error message saying this is intended.
Describe the solution you'd like
Throw an error
The text was updated successfully, but these errors were encountered:
fatso83
changed the title
Throw meaningful error message when trying to return non-objects
Throw meaningful error message when trying to return non-objects from stub used as constructor
Aug 11, 2023
Is your feature request related to a problem? Please describe.
See #1676. User's think that not returning a string or other non-object is an error when newing up objects. We should rather explicitly throw an error message saying this is intended.
Describe the solution you'd like
Throw an error
The text was updated successfully, but these errors were encountered: