Questions tagged [error-handling]
Programming language constructs designed to handle errors signaled by error codes, exceptions or other language specific means.
error-handling
27,478
questions
-4
votes
0
answers
26
views
i am working on a face recognition project and this error occurs
"C:\\Users\\Rahul Poojary\\PycharmProjects\\pythonProject4.venv\\Scripts\\python.exe" "C:\\Users\\Rahul Poojary\\PycharmProjects\\pythonProject4\\project\\main.py"
Exception in ...
0
votes
0
answers
14
views
Extract element in STRUCT data type Redshift Spectrum
I have a spectrum table with the following schema:
TABLE spectrum.table (
realmcode struct < @code: string >,
typeid struct < @extension: string,
@root: string >,
...
0
votes
2
answers
65
views
Cannot Generate a PDF from Google Script
I followed a Youtube tutorial to create a google script that would produce a pdf from google sheets. I was able to recreate what I saw in the video and generated a pdf. When it came time to put in my ...
0
votes
0
answers
41
views
VBA ADO transaction detailed error instead of generic
I have a problem with ADO transaction. I would like to catch error that is thrown within db, not generic one.
If I remove transaction and execute command then I am able to get it in VBA using err....
0
votes
0
answers
11
views
Getting error while debugging the A-CAD code
A fatal error has occurred and debugging needs to be terminated. The debugger was configured to use the Desktop CLR (.NET Framework) Managed debugger, but the target process loaded the CoreCLR (.NET ...
0
votes
0
answers
12
views
Sign in options not working on the vercel deployement of next.js App
hi fellow friends i have made an a web application where we can help our students to know from our past interview experinces
link:InterviewXp
i have deployed it using vercel and for backend i have ...
0
votes
0
answers
20
views
Handle disconnection with Flutter Clean Architecture
Sometimes the users of my mobile app may be disconnected for some reason, like when their token expires for example. How to handle these disconnection properly without having to put try catch on every ...
1
vote
0
answers
27
views
Remove error backtrace from laravel lighthouse response
I am using laravel lighthouse framework for GraphQL API, and I am trying to return error to the user.
How can I remove "locations" and "path" from the response? (I want to have &...
0
votes
1
answer
61
views
data.table use df[, i] to fetch a column
I am using data.table package.
library(data.table)
df = data.table(col1 = c(2,4,6),
col2 = c(4,6,8),
col3 = c(8,10,12),
col4 = c(20,16,14))
i = 2
df[,...
0
votes
1
answer
34
views
What exception should be raised when the user calls a function with an argument that is considered an invalid choice?
Let's say I have the following code:
#!/usr/bin/env python3
from torch import Tensor
from typing import Literal
def reduce(x: Tensor, reduction: Literal["mean", "sum", "none&...
0
votes
0
answers
15
views
PySpark for AWS Glue Job and Address Error Handling
So, I'm in the process of setting up error handling for AWS Glue Jobs written in PySpark. At present, I'm working on residential address validation.
Context: For this, I want to compare against a list ...
0
votes
1
answer
35
views
Getting Range not found when using getRange()
Every time I use getRange in my program (lines 8 and 11), I get an error
Exception: Range not found,
but I cannot figure out why.
I tried using getA1notation() and toString() , but both resulted in ...
0
votes
0
answers
44
views
How can i show custom error message on my record form in lwc in salesforce if the lastname of the person account is blank?
I want to show a custom error message which says please enter the lastname of the person account if kept empty on the lwc component created using record form
I am expecting a way to show a custom ...
-1
votes
0
answers
12
views
ERRORS NOT VIISIBLE IN VS CODE
Following the strivers playlist on youtube for coding and dsa , i implemented the following interface[enter image description here]
(https://i.sstatic.net/JfPzYfT2.png)
It runs fine for the codes ...
0
votes
0
answers
20
views
Why do I get a fatal nil error when running the simulator?
I am new to app building and am following a beginner's course. They are having me do a simple exercise to replace an image element of a 'one' dice with a 'six' dice when running the simulator.
I have ...