I've seen this question: How can I get the line number and file name from an exception in net Core? And tried the code, but it always says line 0 and no file na
I'm implementing a draft of a connection between 2 Raspberry and an Arduino, connected via mqtt. I'm working on Node-RED flows and I used mqtt nodes. As you can
I am unable to show more than one WebView2 control in an application hosted on a network shared folder. Let me say straight out of the bat that the solutions di
I am currently developing a custom exception middleware and I also have my own exceptions. The goal is to be able to have a common library for multiple APIs and
Currently experiencing a problem where the app sometime crashes only in release mode. Any ideas on how to decode the IOS Crash log, i've attached a small sectio
while I was able to get help on another issue with a python-based web scraper, another issue comes up when I run the code. Page crash Can someone tell me why it
I have a custom schematic that won't apply to a new project... I also looked at this question but I couldn't make it work... My main workspace runs with this co
I have a custom schematic that won't apply to a new project... I also looked at this question but I couldn't make it work... My main workspace runs with this co
I am aware of how to raise exceptions and how to catch them, but how do you know when to raise a certain common exception such as KeyError or ValueError? And wh
In C# My Sql Entity Framework 6 Insert is return exception Cannot add or update a child row: a foreign key constraint fails (portaldb.masterselectionhistory, C
Im using the following code to catch error in fastify, however my error is that "response.send" is not a function: What's the right way to send the error on my
When I am trying to create a Service Bus Namespace in Azure. It is failing with the below exception. Microsoft.Azure.Management.ServiceBus.Models.ErrorResponseE
How to retry a function if the exception is NOT of a certain type using Python's tenacity? retry_if_exception_type will retry if there is risen an exception of
I have written my own Exception but I can't throw it. The application still terminates and gives me the standard error Message: Exception in thread "main" java.
I'm working on macOS with JDK8. In catch, I have to give the entire name of exception like in this case (ArithmeticException e) instead of (Exception e) to run
I'd like to catch nicely the error when "No hostkey for host *** is found" and give an appropriate message to the end user. I tried this: import pysftp, paramik
My code is working just the way I want - unless input contains alphabetical characters. If so, is crashes. How can I prevent that? My code is as follows: def ma
I have a spark cluster in kubernetes based on image mcr.microsoft.com/mmlspark/spark2.4:v4. Spark version version 2.4.0 Using Scala version 2.11.12, OpenJDK
My Swift program is crashing with EXC_BAD_INSTRUCTION and one of the following similar errors. What does this error mean, and how do I fix it? Fatal error:
I need to retrieve the name of the object in which an error has occured. The error is catched in a try exception statement. The error type as returned by err_ty