Rejects this with error.
This function is meant to be used when manually wrapping various [callback@Gio.AsyncReadyCallback] based API.
The ownership of error is taken when calling this function.
| this |
a [class@Dex.AsyncPair] |
| error |
a [struct@GLib.Error] |