serialization of errors is not implemented yet