Enter to send·Shift+Enter new line
Fail any still-active tool streams when the run errors.
fail( self, err: BaseException, ) -> None