returnError

open fun returnError(error: <Error class: unknown class>)

Indicate that the serialization has ended with an error.

This function consumes @error.

Parameters

error

a GError