Error handling component for use with fun-chain-dispatch