<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Errors on Rye blog</title>
    <link>https://ryelang.org/blog/tags/errors/</link>
    <description>Recent content in Errors on Rye blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <lastBuildDate>Tue, 24 Nov 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://ryelang.org/blog/tags/errors/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>What are the filter / map / reduce of error handling?</title>
      <link>https://ryelang.org/blog/posts/filter-map-reduce-of-error-handling/</link>
      <pubDate>Tue, 24 Nov 2026 00:00:00 +0000</pubDate>
      <guid>https://ryelang.org/blog/posts/filter-map-reduce-of-error-handling/</guid>
      <description>Rye is big on expressing intent, and reality is big on doing failure. So Rye tries to express intent on failure better also.</description>
    </item>
    
    <item>
      <title>Each layer adds only what it knows</title>
      <link>https://ryelang.org/blog/sandbox/failure-domain-translation-draft/</link>
      <pubDate>Tue, 17 Nov 2026 00:00:00 +0000</pubDate>
      <guid>https://ryelang.org/blog/sandbox/failure-domain-translation-draft/</guid>
      <description>A small config loader, and what happens to failures as they move up the stack.</description>
    </item>
    
    <item>
      <title>Don&#39;t turn failures into fake success</title>
      <link>https://ryelang.org/blog/sandbox/dont-turn-failures-into-fake-success/</link>
      <pubDate>Fri, 25 Sep 2026 00:00:00 +0000</pubDate>
      <guid>https://ryelang.org/blog/sandbox/dont-turn-failures-into-fake-success/</guid>
      <description>A fallback can make a function easier to call while making its result harder to trust. On preserving failure information until you know what to do with it.</description>
    </item>
    
    <item>
      <title>Go Error Handling is Great, Rye Builds Upon It</title>
      <link>https://ryelang.org/blog/sandbox/go-error-handling-with-rye/</link>
      <pubDate>Sun, 23 Aug 2026 00:00:00 +0000</pubDate>
      <guid>https://ryelang.org/blog/sandbox/go-error-handling-with-rye/</guid>
      <description>How Rye adopts Go&amp;#39;s error-as-values philosophy, and the returning-functions mechanism that makes it concise</description>
    </item>
    
    <item>
      <title>What are the filter / map / reduce of error handling?</title>
      <link>https://ryelang.org/blog/sandbox/go-vs-rye-failure-handling/</link>
      <pubDate>Sun, 23 Aug 2026 00:00:00 +0000</pubDate>
      <guid>https://ryelang.org/blog/sandbox/go-vs-rye-failure-handling/</guid>
      <description>&lt;h2 id=&#34;intent&#34;&gt;Intent&lt;/h2&gt;
&lt;hr&gt;
&lt;hr&gt;
&lt;hr&gt;
&lt;hr&gt;
&lt;hr&gt;
&lt;p&gt;A loop can transform values, select a subset, or accumulate a result. Until we read its body, we don’t know which. &lt;code&gt;map&lt;/code&gt;, &lt;code&gt;filter&lt;/code&gt;, and &lt;code&gt;reduce&lt;/code&gt; put that intent in the name.&lt;/p&gt;
&lt;p&gt;An error branch has a similar property:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-go&#34; data-lang=&#34;go&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;k&#34;&gt;if&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;err&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;o&#34;&gt;!=&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;kc&#34;&gt;nil&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;p&#34;&gt;{&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;    &lt;/span&gt;&lt;span class=&#34;c1&#34;&gt;// Return it? Add context? Recover? Try again?&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;p&#34;&gt;}&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The conditional tells us &lt;em&gt;when&lt;/em&gt; we act. Its body tells us &lt;em&gt;what we intend to do&lt;/em&gt;. Some of those intentions recur often enough to deserve names.&lt;/p&gt;</description>
    </item>
    
  </channel>
</rss>
