2
0
mirror of https://github.com/boostorg/leaf.git synced 2026-01-30 20:02:15 +00:00

error constructor -> new_error

This commit is contained in:
Emil Dotchevski
2019-01-10 09:29:48 -08:00
parent b1da5131ea
commit a16600a989
31 changed files with 89 additions and 101 deletions

View File

@@ -34,7 +34,7 @@ leaf::result<task_result> task()
if( succeed )
return task_result { };
else
return leaf::error(
return leaf::new_error(
e_thread_id{std::this_thread::get_id()},
e_failure_info1{"info"},
e_failure_info2{42} );