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

    • Jaloopa@beehaw.org
      link
      fedilink
      arrow-up
      9
      ·
      1 year ago

      Why wouldn’t it? It’s syntactically valid C#, with the added bonus of destroying the stack trace

      • Keelhaul
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        Who needs stack traces anyway? Just search all of your code on the word throw until you have the right one