Increasingly so, the more experienced I get…

  • Ephera@lemmy.mlOP
    link
    fedilink
    English
    arrow-up
    0
    ·
    3 days ago

    Currently implementing error handling for a library I’m building and the process is basically to just throw all of the information I can find into there. It makes the error handling code quite verbose, but there’s no easy way for me to know whether the underlying errors expose that information already, so this is actually easier to deal with. 🫠

    • Ithral@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      0
      ·
      2 days ago

      Thank you, I hate it when libraries fail and don’t give me good info, like failed to load doesn’t help, failed to load because of syntax error on line 45 of input is soooo nice when that happens.