gir icon indicating copy to clipboard operation
gir copied to clipboard

Extend bool_return_is_error configuration to allow including function arguments in errors

Open sdroege opened this issue 3 years ago • 0 comments

For many functions it's more useful to include some of the function arguments in the string returned glib::bool_error!.

I'd suggest a syntax like bool_return_is_error = "blablabla {0} blablabla {1:?}" for this that takes the first and second argument then, the second via the Debug impl.

sdroege avatar Mar 21 '21 10:03 sdroege