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
This has the nice property that overriding the try! macro in your own project, allows you to capture all the ? invocations and add additional logic like logging file and line number or wrapping that information into a new error object.
Sadly it seems that the ? operator is no longer equivalent to the try! macro. So overriding try! does not change the behavior of ? in your project. It would be awesome if this would be made possible.
The text was updated successfully, but these errors were encountered:
When the
?
operator was implemented, it looks like it was meant to be equivalent to thetry!
macro.This has the nice property that overriding the
try!
macro in your own project, allows you to capture all the?
invocations and add additional logic like logging file and line number or wrapping that information into a new error object.Sadly it seems that the
?
operator is no longer equivalent to thetry!
macro. So overridingtry!
does not change the behavior of?
in your project. It would be awesome if this would be made possible.The text was updated successfully, but these errors were encountered: