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

  • Jaloopa@beehaw.org
    link
    fedilink
    arrow-up
    9
    ·
    2 years 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
      ·
      2 years ago

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