Brilliant exception handling I found in an app i had to work on

  • StudioLE@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    2 years ago

    It’s C# so it’s just rethrowing the original exception.

    It might also be messing with the stack trace though which can be a bit frustrating for future debugging. But that’s only a vague recollection of something I read in the past so I could be wrong