2
0
mirror of https://github.com/boostorg/leaf.git synced 2026-02-02 08:52:13 +00:00

is_error_type, renamed peek_next_error to next_error_value

This commit is contained in:
Emil Dotchevski
2018-11-25 12:37:27 -08:00
parent bb54d9d19d
commit 1bac1e1d1a
16 changed files with 204 additions and 48 deletions

View File

@@ -25,6 +25,9 @@ enum do_work_error_code
ec1=1,
ec2
};
namespace boost { namespace leaf {
template<> struct is_error_type<do_work_error_code>: std::true_type { };
} }
struct e_lua_pcall_error { int value; };
struct e_lua_error_message { std::string value; };