2
0
mirror of https://github.com/boostorg/leaf.git synced 2026-02-02 21:02:18 +00:00
Commit Graph

65 Commits

Author SHA1 Message Date
Emil Dotchevski
9dc430180b added different error_ types, converted capture_in_result/capture_in_exception to call the passed function, rather than return a function that calls it 2019-01-30 17:11:53 -08:00
Emil Dotchevski
e4a54437b0 bound_handle_all, bound_handle_some, bound_try_ 2019-01-29 13:34:13 -08:00
Emil Dotchevski
d13dc40a52 better capture_in_result/capture_in_exception interface
als is_error_type -> is_e_type.
2019-01-28 16:24:49 -08:00
Emil Dotchevski
1a3c30cfd9 fixed bug in error objects capture, thanks sorin 2019-01-27 15:08:31 -08:00
Emil Dotchevski
a9302bb23c handlers in tuple 2019-01-26 23:35:51 -08:00
Emil Dotchevski
c4b4d8bd15 separated handle.hpp into handle_all.hpp and handle_some.hpp 2019-01-26 17:48:59 -08:00
Emil Dotchevski
4e45151020 capture_result->capture_in_result, capture_exception->capture_in_exception 2019-01-25 14:13:59 -08:00
Emil Dotchevski
1b74d04b34 optimizations 2019-01-24 00:13:20 -08:00
Emil Dotchevski
e1a8db14b9 updated copyright message 2019-01-23 23:30:02 -08:00
Emil Dotchevski
71d5440879 class error renamed back to error_id 2019-01-22 15:16:21 -08:00
Emil Dotchevski
7708a3d5e0 refactored error_id to error: std::error_code 2019-01-22 12:39:04 -08:00
Emil Dotchevski
8a2b9caf6e sending error_id through std::error_code 2019-01-20 02:44:47 -08:00
Emil Dotchevski
ffde846c6e documentation update 2019-01-16 11:32:45 -08:00
Emil Dotchevski
dcb578761a added move assignment to result<T> 2019-01-15 18:10:04 -08:00
Emil Dotchevski
3f9d1821dd renamed types and variable 2019-01-15 11:28:17 -08:00
Emil Dotchevski
ff6f7716cd error -> error_id 2019-01-15 00:36:44 -08:00
Emil Dotchevski
17fc004d55 cosmetic changes, documentation update 2019-01-14 23:51:53 -08:00
Emil Dotchevski
0f4dc4f637 cosmetic changes 2019-01-14 17:24:52 -08:00
Emil Dotchevski
e7d212c8e9 tweaked the behavior of handle_all 2019-01-13 23:38:46 -08:00
Emil Dotchevski
bb9ba95e17 travis 2019-01-13 16:34:40 -08:00
Emil Dotchevski
fee3868261 documentation, cosmetic changes 2019-01-13 09:13:54 -08:00
Emil Dotchevski
f11e3b248e diagnostic info refactor 2019-01-10 20:51:26 -08:00
Emil Dotchevski
a16600a989 error constructor -> new_error 2019-01-10 09:29:48 -08:00
Emil Dotchevski
6e466d8ce3 warnings, errors 2019-01-09 22:43:50 -08:00
Emil Dotchevski
a88d950045 Complete rewrite to try_, handle_some, handle_all 2019-01-09 17:30:31 -08:00
Emil Dotchevski
e032a0b4f7 member handle_error 2019-01-03 17:25:09 -08:00
Emil Dotchevski
484ca0c55e decoupled diagnostic_output from expect<> 2019-01-03 13:46:38 -08:00
Emil Dotchevski
bee675432e Major refactoring, handle_error deduces its return type. 2019-01-01 23:01:26 -08:00
Emil Dotchevski
1677b94ec0 documentation update 2018-12-27 18:32:59 -08:00
Emil Dotchevski
4aeb0f68d2 current_exception_diagnostic_output -> diagnostic_output_current_exception 2018-12-08 19:06:11 -08:00
Emil Dotchevski
4ac038b763 changed LEAF_THROW and LEAF_EXCEPTION syntax 2018-12-04 22:20:55 -08:00
Emil Dotchevski
1bac1e1d1a is_error_type, renamed peek_next_error to next_error_value 2018-11-25 12:37:27 -08:00
Emil Dotchevski
126f303908 documentation update 2018-11-25 09:07:33 -08:00
Emil Dotchevski
ca0173fb24 deleted .value, match<> 2018-11-25 03:17:49 -08:00
Emil Dotchevski
e3dd9cbf4e removed throw_exception, class exception now public 2018-11-09 15:30:17 -08:00
Emil Dotchevski
4df0a7bef6 examples and documentation update 2018-11-02 16:57:03 -07:00
Emil Dotchevski
8e725518b2 current_exception_diagnostic_output 2018-11-02 11:28:36 -07:00
Emil Dotchevski
f6f97af693 moved peek_next_error to namespace leaf 2018-11-01 16:01:41 -07:00
Emil Dotchevski
6abd15b2d8 white space formatting 2018-11-01 15:12:19 -07:00
Emil Dotchevski
ca6f67f5ee fixed bug in lua_callback_result.cpp, updated documentation 2018-10-31 23:59:07 -07:00
Emil Dotchevski
16e87374d7 easy introduction 2018-10-31 18:00:10 -07:00
Emil Dotchevski
1f3188eb59 diagnostic_print->diagnostic_output 2018-10-30 19:02:07 -07:00
Emil Dotchevski
639004a8c6 new preload/defer 2018-10-30 15:32:19 -07:00
Emil Dotchevski
c0da765966 cosmetics 2018-10-28 10:02:03 -07:00
Emil Dotchevski
28961367a3 tweaks, pretty much complete documentation 2018-10-27 17:38:33 -07:00
Emil Dotchevski
e8a2840065 expect::propagate, exception handling tweaks 2018-10-25 12:30:49 -07:00
Emil Dotchevski
49cae462fd preload refactoring 2018-10-24 16:05:06 -07:00
Emil Dotchevski
f3faefa6a8 fixed msvc build errors 2018-10-21 23:00:26 -07:00
Emil Dotchevski
0575f0ec9b test 2018-10-21 21:14:33 -07:00
Emil Dotchevski
2d7db7d23b missing <memory> include in print_file_eh/result 2018-10-21 14:50:06 -07:00