After https://github.com/gazebosim/sdformat/pull/1061, any function in libsdformat that would return an sdf::Errors now throws an exception that wraps the errors. This PR makes the necessary API changes to accommodate that.
[ ] While waiting for a review on your PR, please help review another open pull request to support the maintainers
Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.
🎉 New feature
Summary
After https://github.com/gazebosim/sdformat/pull/1061, any function in libsdformat that would return an
sdf::Errors
now throws an exception that wraps the errors. This PR makes the necessary API changes to accommodate that.Test it
Existing tests should pass.
Checklist
codecheck
passed (See contributing)Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining
Signed-off-by
messages.