Timothy Flynn
2d34216628
LibWeb: Make DOM::ExceptionOr compatible with the TRY macro
...
This will help reduce the quite repetitive pattern of:
auto result_or_error = dom_node->do_something();
if (result_or_error.is_exception())
return result_or_error.exception();
auto result = result_or_error.release_value();
Similar to LibJS completions, this adds an alias to the error accessors.
This also removes the requirement on release_value() for ValueType to
not be Empty, which we also had to do for TRY compatibility in LibJS.
2022-03-22 12:09:27 +00:00
..
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-03-21 20:06:59 +01:00
2022-03-21 18:05:20 +01:00
2022-03-21 18:05:20 +01:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-03-21 13:03:33 +01:00
2022-03-21 20:37:49 +01:00
2022-03-09 16:43:55 +01:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-03-02 09:18:19 +01:00
2022-03-02 09:18:19 +01:00
2022-03-02 09:18:19 +01:00
2022-03-21 13:03:33 +01:00
2022-03-20 16:31:40 +01:00
2022-03-20 13:36:45 +01:00
2022-03-02 10:55:16 +01:00
2022-03-17 17:23:49 +00:00
2022-03-16 00:38:31 +01:00
2022-03-22 02:35:07 +01:00
2022-03-16 00:38:31 +01:00
2022-03-22 12:09:27 +00:00
2022-03-17 17:23:49 +00:00
2022-03-22 02:08:15 +01:00
2022-03-21 21:11:38 +01:00
2022-03-13 18:09:43 +01:00
2022-03-09 16:43:00 +01:00
2022-03-09 16:43:00 +01:00
2022-03-09 16:43:56 +01:00
2022-03-09 16:43:56 +01:00
2022-03-09 16:43:00 +01:00
2022-03-15 19:48:19 +01:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-03-21 23:28:46 +01:00
2022-03-21 23:28:46 +01:00
2022-03-21 23:28:46 +01:00
2022-03-16 00:38:44 +01:00
2022-03-13 18:09:43 +01:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-03-21 20:06:59 +01:00
2022-03-21 19:14:50 +01:00
2022-03-21 19:14:50 +01:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-03-09 16:43:55 +01:00