errorT transformer, IORef env