configlet icon indicating copy to clipboard operation
configlet copied to clipboard

sync: improve error handling

Open ee7 opened this issue 3 years ago • 2 comments

Replace:

  • showError with errorAndHelp
  • (stderr.writeLine msg then quit 1) with error

Refs: #123 Refs: #325


Working towards the approach that I use elsewhere, including:

https://github.com/exercism/configlet/blob/b6fff14959b095b77c982d32fbc3941d909a1845/bin/bump_version.nim#L17-L19

ee7 avatar Oct 28 '22 12:10 ee7

@ee7 Is this something you'd still like to do? It looks like a nice improvement

ErikSchierboom avatar May 02 '24 10:05 ErikSchierboom

It's probably an improvement overall, but please take over if you want it.

ee7 avatar May 04 '24 13:05 ee7