chore: add specific io error callback
the IOError exception will get a specific overridable handling function (which by default will do the same as the general one).
the IOError exception will get a specific overridable handling function (which by default will do the same as the general one).