<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Try-Catch on Samarthya</title><link>https://samarthya.me/tags/try-catch/</link><description>Recent content in Try-Catch on Samarthya</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>© Samarthya 2018-2026. All rights reserved.</copyright><lastBuildDate>Mon, 22 Feb 2021 12:00:00 +0000</lastBuildDate><atom:link href="https://samarthya.me/tags/try-catch/index.xml" rel="self" type="application/rss+xml"/><item><title>GoLang: try-catch</title><link>https://samarthya.me/posts/golang-try-catch/</link><pubDate>Mon, 22 Feb 2021 12:00:00 +0000</pubDate><guid>https://samarthya.me/posts/golang-try-catch/</guid><description>&lt;p&gt;GoLang doesn’t have a try and catch like the popular C++ or Java languages, what it has is &lt;code&gt;panic-recover&lt;/code&gt;.&lt;/p&gt;&#10;&lt;p&gt;Non critical errors are returned as normal values and for the critical ones, &lt;code&gt;panic&lt;/code&gt; is used&lt;/p&gt;</description></item></channel></rss>