PLUS-POSTECH / soma

Cross-platform CTF problem container manager
Apache License 2.0
24 stars 3 forks source link

Consider giving more descriptive error message #52

Open KSAlpha opened 5 years ago

KSAlpha commented 5 years ago

Currently Soma implementations simply passes Error to handle errors (without panicking). However these errors may mislead users when troubleshooting. We can give more descriptive messages on Error by mapping Error to SomaError or using other implementations.

Qwaz commented 5 years ago

Good article: http://blog.ploeh.dk/2014/12/23/exception-messages-are-for-programmers/