Abdullah Bin Altafdevopswithabdullah.hashnode.dev·Feb 18, 2024Lecture # 10 - Error Handling with Try-ExceptTry/Except: In Python, the try and except blocks are used for exception handling, allowing you to gracefully handle errors or exceptions that occur during program execution. try Block: The try block lets you test a block of code for errors. except Bl...DiscussDevops
Gilles TOURREAUProgilles.tourreau.fr·Dec 4, 2023Detect ongoing .NET exceptionsSometimes it can be useful to detect if an exception is ongoing. For instance, in a Dispose() method, it's valuable to ascertain if an exception is already in progress to avoid throwing a new exception and losing the original one. Problem encountered...Discuss·1 like·43 reads.NET
Ravinder Pandeyravinpandey.hashnode.dev·Sep 27, 2023Mastering Promises, Async/Await, and Try/Catch in ES6 JavaScript 🚀Hello, JavaScript enthusiast! 🌟 In the ever-evolving world of JavaScript, ES6 (ECMAScript 2015) introduced some powerful features that have forever changed the way we handle asynchronous code. Today, we're going to dive deep into three of these feat...DiscussJavaScript
Chioma Uche-Nwosuitsjustchioma.hashnode.dev·May 18, 2023The Importance of Using try-catch in JavaScript for Graceful Error HandlingOne thing in life is sure: Everything may only sometimes go according to plan. Before riding, every biker wears a helmet. It is imperative, not mandatory, that they wear helmets for their heads' safety. The same is true for Javascript. There is no wa...Discuss·1 like·73 readsJavascripttrycatch
Anushka Singh Bhardwajsinghanushka.hashnode.dev·Apr 24, 2023Exception handling in JavaScriptThere are two main types of errors in JavaScript: Syntax errors: occur when the code syntax is not proper and JavaScript interpreter can't understand it. This error can't be handled with exception handling. Runtime errors: occur while the code is e...Discuss·11 likes·80 readsJavaScript
Anshu Shreeianshushree.hashnode.dev·Mar 21, 2023Try and catchHello Readers, I am coming with a more interesting topic try and catch . Let's dive into the topic . Sometimes when we write code ,some syntax are written incorrectly and some gone wrong while execution.This gives error and causes disruption while th...DiscussHTML5
Shuaib Siddiquisbsidd17.hashnode.dev·Mar 21, 2023Try, Catch and Finally in JavaScript (Error Handling)In JavaScript, try, catch, and finally are three keywords used for error handling. try and catch blocks work together to catch and handle errors in your code. The try block contains the code that might throw an error, and the catch block contains the...Discuss·92 readsJavaScript
Asif Siddiquesemi-colon.hashnode.dev·Mar 15, 2023Exceptions: The Party Crashers of Your Code (And How to Handle Them)Introduction We all prefer things to go smoothly without any interruptions or obstacles, whether it's in our personal lives or in our work as coders. However, unexpected events and uncertainties can disrupt even the best-laid plans. For example, imag...Discuss·80 readsexceptionhandling
Yadukrishnanyadukrishnan.live·Oct 21, 2022Scala Exceptions - Try, try..catch and a caveatLearn about the various approaches to exception handling in Scala, and discover a peculiar situation that may arise while using scala.util.Try. This blog post delves into the fact that scala.util.Try is designed to handle only NonFatal exceptions, an...Discuss·6 likes·711 readsScala
Nausher Alinausherali.com·Aug 22, 2022Promise handling in javascript, best approach.INTRODUCTION In this article we will discuss which approach is best inorder to handle the promises in Javascript. Our focus will be readability and maintainability There is two approach to handle the promises in Javascript 1. Try/Catch with Async awa...Discuss·141 readsJavaScript