Skip to content

Instantly share code, notes, and snippets.

@CleanCoder
Created August 24, 2018 02:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save CleanCoder/91027f8b0981daf12aa2bdc31470d66f to your computer and use it in GitHub Desktop.
Save CleanCoder/91027f8b0981daf12aa2bdc31470d66f to your computer and use it in GitHub Desktop.
MISC
// Rethrow exception with original callstack
ExceptionDispatchInfo.Capture(ret.Exception).Throw()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment