hho
06/28/2021, 4:08 PMcheck(…)
and 2️⃣ require(…)
. Which would be better to signal an invalid configuration (i.e. on startup)? Or should I make up 3️⃣ my own exception class?
I'm really torn between "a bad config is an illegal argument" and "the app is in an illegal state and can't start" 😕Zach Klippenstein (he/him) [MOD]
06/28/2021, 4:13 PMhho
06/28/2021, 4:16 PMZach Klippenstein (he/him) [MOD]
06/28/2021, 5:16 PMRuntimeException
probably)