exception: set default user_cancelled exception message
Signed-off-by: Simon Rozman <simon@rozman.si>
This commit is contained in:
parent
657eac0c69
commit
180f763184
@ -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)
|
||||||
{
|
{}
|
||||||
}
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user