Questions tagged [error-handling]
Programming language constructs designed to handle errors signaled by error codes, exceptions or other language specific means.
error-handling
27,474
questions
0
votes
0
answers
6
views
Databricks Workflow Task doesn't fail when making a typo in dbt commands
I'm trying to create a Databricks Workflow with 3 dbt tasks: Running Bronze, Silver and Gold models. To try out the "repair run" function, I made a typo on purpose in one of dbt commands. ...
-2
votes
0
answers
20
views
Unexpected Index Behavior in Python [closed]
In file handling, when I use the seek operation with the newline character and input the string “Hello User,\nI am the main file” into the file, I encounter an issue. When I read using the seek ...
0
votes
0
answers
13
views
I'm trying to open anaconda navigator but it won't open
I just downloaded anaconda and the anaconda navigator is not opening. I tried to activate it through my command prompt but it is showing me this:
this is the error it shows me
From videos I've watched ...
0
votes
0
answers
16
views
how to handle no collectors found error for pytest framework
i have written pytest framework for my exisiting code , have written for specific function of reset chat where i have written method and wanted to run but there is error found no collectors for C:\...
0
votes
0
answers
14
views
How do I ingest data from singstat into an S3 bucket using AWS Lambda?
this is the code that i have been using:
import json
import urllib.request
import boto3
import os
from datetime import datetime
def lambda_handler(event, context):
# Define the SingStat API
...
0
votes
0
answers
8
views
How add a column in table handsontable
I’m getting an error message when trying to add a new column to the end of my handsontable table
Error: Cannot create new column. When data source in an object, you can only have as much columns as ...
0
votes
0
answers
11
views
Error Unable to cast object of type 'System.Int32[]' to type 'System.IConvertible' when calling Stored Procedure in MySQL
The Error says that Unable to cast object of type 'system.byte[] ' to type 'System.IConvertible' in the ExcecuteNonQuery(). What should I do? Anyone....
Details: HeidiSQL, and MySQL 5.0.96
public ...
1
vote
1
answer
29
views
Is there any way to get the detailed error behind "TypeError: Failed to fetch"?
I'm trying to debug why <2% of my users receive "TypeError: Failed to fetch" on a given endpoint. I'm seeing this error in Sentry, but I cannot reproduce it.
What I've figured out is that ...
1
vote
0
answers
27
views
Is it possible to use a global error handler to show a react error component instead of a broken component
I use the react-error-boundary library, is there no way to make a global error component in it, so that when any component breaks, an error component is substituted instead, while IT is IMPORTANT that ...
0
votes
1
answer
18
views
Error: Type 'ImageConfiguration' not found. / Error: Type 'ImageProvider' not found
I was trying to get a photo from the backend and suddenly start show these errors in debug console and when I run another project it start show the same error so became all flutter projects in my ...
-1
votes
0
answers
28
views
discord.py app command error handling won't work because responses take >5 seconds
I'm having this issue where before a few days ago, everything worked fine, but suddenly any error handling will take too long to be in the 3 second time frame for the response to be handled. Nothing ...
-2
votes
0
answers
14
views
Heroku CI Pipeline Testing [closed]
When I try to run a test in Heroku, I encounter this error:
-----> Running test command nose test...
bash: line 1: nose: command not found
-----> test command nose test failed with exit status ...
0
votes
2
answers
83
views
How can I handle invalid data type exception and stop program execution?
I have a problem, I am studying exceptions and apparently I misunderstood something.
int n;
try {
cout << "enter value: " << endl;
cin >> n;
}
catch (exception& ex) ...
0
votes
0
answers
21
views
Client component isn't receiving server action response Next.js 14
I'm trying to do error handling in Next.js. I'm using a server action that is passed to a form and invoked when the form is submitted, like this::
Form Component
"use client";
import ...
0
votes
0
answers
32
views
can I trust compiler to avoid passing unused function parameters
I am writing error-handling code at many places, which typically has the form
if (!condition)
errorHandler(info);
here errorHandler is a function and info is in practice more than one ...