gazebosim / gz-mujoco

25 stars 4 forks source link

Catch libsdformat exceptions #100

Closed azeey closed 2 years ago

azeey commented 2 years ago

🎉 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

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.