made get/set-error easier to bind