Skip to content

Conversation

@cameel
Copy link
Collaborator

@cameel cameel commented Oct 11, 2021

Another smaller PR extracted from #11800.

This one adds a macro similar to assertThrow() but meant for actual error handling rather than for checking assertions. It can replace the more verbose BOOST_THROW_EXCEPTION in cases where the exception inherits from util::Exception and the only information we add to it is a message.

There's intentionally no variant without a message because I think that exceptions that interrupt the program should always have a message attached.

@cameel cameel self-assigned this Oct 11, 2021
@cameel cameel changed the base branch from develop to fix-circleci-macos-cache-key October 11, 2021 18:36
@cameel
Copy link
Collaborator Author

cameel commented Oct 11, 2021

Note: this is now based on the CI fix (#12106).

Base automatically changed from fix-circleci-macos-cache-key to develop October 12, 2021 14:22
@chriseth chriseth merged commit 3beebba into develop Oct 12, 2021
@chriseth chriseth deleted the sol-throw branch October 12, 2021 14:28
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