<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>异常 on PlumePHP</title><link>https://plumephp.com/tags/%E5%BC%82%E5%B8%B8/</link><description>Recent content in 异常 on PlumePHP</description><generator>Hugo</generator><language>zh-CN</language><lastBuildDate>Wed, 30 Sep 2026 14:00:00 +0800</lastBuildDate><atom:link href="https://plumephp.com/tags/%E5%BC%82%E5%B8%B8/index.xml" rel="self" type="application/rss+xml"/><item><title>C++ 异常安全与错误处理策略：noexcept、RAII 与 Herb Sutter 指引</title><link>https://plumephp.com/cpp-exception-error-handling/</link><pubDate>Wed, 30 Sep 2026 14:00:00 +0800</pubDate><guid>https://plumephp.com/cpp-exception-error-handling/</guid><description>&lt;p&gt;C++ 的异常机制自诞生起就充满争议。一方面，异常允许错误信息沿调用栈自动传播，将正常逻辑与错误处理解耦；另一方面，异常带来的运行时开销、对实时系统的干扰以及异常安全代码的编写难度，使许多项目选择 &lt;code&gt;-fno-exceptions&lt;/code&gt; 彻底关闭异常。理解异常安全保证等级、&lt;code&gt;noexcept&lt;/code&gt; 语义与替代方案，是编写健壮 C++ 代码的必修课。&lt;/p&gt;</description></item><item><title>Flutter 错误处理与可靠性工程</title><link>https://plumephp.com/flutter-error-handling-reliability/</link><pubDate>Tue, 29 Sep 2026 14:00:00 +0800</pubDate><guid>https://plumephp.com/flutter-error-handling-reliability/</guid><description>&lt;h2 id="开篇上生产的第一课是处理错误"&gt;开篇：上生产的第一课是「处理错误」&lt;/h2&gt;
&lt;p&gt;开发时错误是崩溃，生产时错误是流失。一个 App 的可靠度，不取决于「代码写得多优雅」，而取决于&lt;strong&gt;错误发生时系统怎么反应&lt;/strong&gt;——是白屏、静默失败，还是「友好提示 + 自动重试 + 完整上报」？&lt;/p&gt;</description></item></channel></rss>