Capture errors locally before passing them back by reference