Use ZMQError from the external api, not the internal one.