Skip to content

Extended error

Krzesimir Nowak requested to merge krnowak/glib:extended-error into master

This is a new PR to address the issue #14 (closed) and supersedes the PR !621 (closed). It mostly follows the @pwithnall's idea from #14 (comment 663468).

The controversial thing might be the idea of tagged quarks I came up with to avoid the locking overhead. Please have a look.

The ergonomics of the extended errors might still need some polishing, see the example I wrote in the GError docs. Setting the error is not as nice as g_set_error is.

Fixes: #14 (closed)

Edited by Philip Withnall

Merge request reports