I'm currently using std::error_code
to give feedback to the users of my API when something goes wrong. Would it be semantically acceptable to add an std::error_condition
of type warning
to notify my users that there was a minor issue but that operations my continue? Or should I only use logging for this?
Aucun commentaire:
Enregistrer un commentaire