exception: set default user_cancelled exception message

Signed-off-by: Simon Rozman <simon@rozman.si>
This commit is contained in:
Simon Rozman 2023-09-13 13:21:30 +02:00
parent 657eac0c69
commit 180f763184

View File

@ -21,8 +21,7 @@ namespace stdex
/// ///
/// \param[in] msg Error message /// \param[in] msg Error message
/// ///
user_cancelled(_In_opt_z_ const char *msg = nullptr) : runtime_error(msg) user_cancelled(_In_opt_z_ const char* msg = "operation cancelled") : runtime_error(msg)
{ {}
}
}; };
} }