They are available since 2.40 and 2.56 respectively.
https://docs.gtk.org/glib/error.ConvertError.html