Shouldn't the default `error_traits::make_error` copy in the argument?
Closed this issue · 2 comments
russellmcc commented
Currently, the default error_traits
class's make_error
function ignores its argument. I think this is a mistake, and it should instead pass the argument to the constructor of Error.
viboes commented
Maybe you are right. However, currently it doesn't work, because the try-catch in some operations request the constructor of the error from the exception.
I will see what I can do.