moved error method from ZWS to Zable