Explore >> Select a destination


You are here

ops.tips
| | rickardlindberg.me
20.5 parsecs away

Travel
| | I thought I knew how Bash redirects worked. If I wanted to redirect the output of a command to a file, I'd type this: program > /tmp/log.txt If I wanted to pipe both stdout and stderr to a text editor for further processing, I'd type this: program 2>&1 | vim - I knew that 2>&1 meant redirect stderr to stdout making it appear on stdout as well. I knew certain patterns for certain situations.
| | jimlawless.net
30.1 parsecs away

Travel
| |
| | blog.djy.io
23.4 parsecs away

Travel
| |
| | nick.groenen.me
120.4 parsecs away

Travel
| After working through "the book" on the Rust programming language and getting started with the first non-trivial, real-world application I found myself faced with a question I didn't yet feel well-equipped to handle: "How should you structure error handling in a mature rust application?"