Skip to content

IL backport: Cleanup Error handling - #8623

Merged
nbolton merged 4 commits into
masterfrom
il_port_1544
May 28, 2025
Merged

IL backport: Cleanup Error handling#8623
nbolton merged 4 commits into
masterfrom
il_port_1544

Conversation

@sithlord48

@sithlord48 sithlord48 commented May 25, 2025

Copy link
Copy Markdown
Member

backport: input-leap/input-leap#1544

used --author to make sure the author @p12tic gets credit.
expanded a few places to cover code not in input-leap

@sithlord48 sithlord48 changed the title Backport https://github.com/input-leap/input-leap/pull/1544 IL backport: Cleanup Error handling May 25, 2025
@sithlord48
sithlord48 force-pushed the il_port_1544 branch 5 times, most recently from 5f3c849 to 60833a0 Compare May 25, 2025 06:15
@sithlord48
sithlord48 requested a review from nbolton May 25, 2025 06:16
@sithlord48
sithlord48 marked this pull request as ready for review May 25, 2025 06:17
Comment thread src/lib/arch/win32/XArchWindows.h Outdated
Comment thread src/lib/arch/win32/XArchWindows.h Outdated
p12tic added 4 commits May 28, 2025 05:46
This functionality is not needed because in all code paths the error
code is immediately converted to string without actually using the lazy
evaluation functionality.

based-on: input-leap/input-leap@53dff5b
ported and expanded by sithlord48
This is needed because by convention exceptions must derive from at
least std::exception.
ported from: input-leap/input-leap@22aec16
ported-by sithlord48
XArch no longer contains any extra functionality in addition to what
std::runtime_error nor it signifies a particular type of error.
based-on: input-leap/input-leap@5b99169
ported-by: sithlord48

@nbolton nbolton left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Damn, I wrote this comment at the same time as the other review but it didn't get shared.

Comment thread src/lib/arch/win32/XArchWindows.cpp
@nbolton
nbolton enabled auto-merge (rebase) May 28, 2025 13:00
@nbolton
nbolton merged commit 5ee3fc4 into master May 28, 2025
@nbolton
nbolton deleted the il_port_1544 branch May 28, 2025 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants