Skip to content

Conversation

@ilijapuaca
Copy link
Contributor

Moved Error& to last argument spot across the board. Revisited some of the APIs that throw and moved them out of headers.

There are 2 headers remaining that explicitly throw in our codebase - json-object.h and core.h from math.gl. Both of these have a pretty good reason to do so, and they do it in methods that are templated. I did not go too much in depth trying to analyze how many functions that we call out to from our headers could possibly throw, as I'm not sure whether we can/should get of throw API from the 2 header files I mentioned. Let's sync over this today and I can make any updates that might make sense

@ilijapuaca ilijapuaca requested a review from ibgreen June 8, 2020 09:07
@ilijapuaca ilijapuaca merged commit 73579fe into master Jun 8, 2020
@ilijapuaca ilijapuaca deleted the misc/error-consolidation branch June 8, 2020 09:19
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.

2 participants