Module windows_helpers::win32_app::error
source · Functions
- Just returns the
Result, so you can easily gather?uses. - Sets a thread-local error that can be retrieved with
take_app_error(), if one wasn’t set already. - Clears the app error and returns it.
- Panics on
Err, with debug-stringified payload. Returns theOkvalue. - Calls
set_app_error_if_absent()andsuper::msg_loop::quit_now(1)onErr. Returns theOkvalue inSome. - After running the action, returns the error from
take_app_error(), or, if not present, the action’sResult.