runChain, pure and error