You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Network code is the only place in the codebase where we use exceptions.
Removing exceptions from network code will pave a path for network support on platforms that do not support exceptions (e.g. nxdk). I also think it will make the code easier to follow.
Exceptions can be replaced with tl::expected.
ASIO can be configured to avoid exceptions, we just need to provide a custom "throw" implementation. More information from @StephenCWills:
Network code is the only place in the codebase where we use exceptions.
Removing exceptions from network code will pave a path for network support on platforms that do not support exceptions (e.g. nxdk). I also think it will make the code easier to follow.
Exceptions can be replaced with
tl::expected
.ASIO can be configured to avoid exceptions, we just need to provide a custom "throw" implementation. More information from @StephenCWills:
The text was updated successfully, but these errors were encountered: