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

throw leaf::exception(....) becomes leaf::throw_exception(....)

This commit is contained in:
Emil Dotchevski
2022-06-26 22:14:28 -07:00
parent 7ea5958ede
commit ff4f5da286
29 changed files with 278 additions and 286 deletions

View File

@@ -38,14 +38,14 @@ struct info
void f0()
{
auto load = leaf::on_error( info<0>{-1} );
throw leaf::exception(info<1>{-1});
leaf::throw_exception(info<1>{-1});
}
void f1()
{
auto load = leaf::on_error( info<0>{}, info<1>{1}, info<2>{2} );
try { f0(); } catch(...) { }
throw leaf::exception();
leaf::throw_exception();
}
leaf::error_id f2()