Questions tagged [error-handling]
Programming language constructs designed to handle errors signaled by error codes, exceptions or other language specific means.
error-handling
27,456
questions
-1
votes
1
answer
15
views
I have an Error trapping problem in Access
Sub ListFiles(fldObj As Object, Mask As String)
Dim fl As Object 'File
Dim db As DAO.Database
Set db = CurrentDb
Dim rst As DAO.Recordset
...
-3
votes
1
answer
36
views
Managing Error Messages and Codes in Large Spring Boot Applications
How do large-scale applications systematically set up error messages with corresponding codes for all their APIs using Spring Boot and Java, especially when they have over 100 different error messages ...
1
vote
1
answer
26
views
JavaScript Error Code Property "Undefined" - Supabase Auth
The problem is that I am getting "undefined" when I use error.code in JavaScript when I want error.code to spit out meaningful Supabase Auth error codes.
I tried error.message, error.name, ...
0
votes
1
answer
18
views
I can't select a table from my databricks DBs in SQL - error AnalysisException: Delta table `default`.`incidents` doesn't exist
I am just starting out in databricks using SQL, and I just want to select a table and see the fields/columns , I know the table exists when you check the DB catalog but when I try to select it using * ...
0
votes
0
answers
34
views
How to handle deliberate errors for testing Axios requests with invalid credentials in Node.js?
I'm developing a Node.js script that interacts with the Microsoft Graph API using Axios for fetching user information and group memberships. To test error handling scenarios, I deliberately used ...
1
vote
1
answer
20
views
How to create global error handler in next js for API?
I created a function for handling the error but I have to pass this function to every try-catch block of the API. How can I avoid that? Is there a better way to handle API errors in NextJS?
The ...
0
votes
0
answers
13
views
Can Gunicorn allow error http status codes through from Flask app?
I have a Flask API app that returns some JSON with http status code set to 422.
Example
def post(self, current_user, data):
return {
"success": False,
"message": "...
0
votes
0
answers
12
views
Proplem with Strapi client v4
I am watching a video in youtube tutorial working with strapi here is the link : https://www.youtube.com/watch?v=gPFbxwRGhiQ&list=PLVpp0SvtYtdfMvoSB1NwHq3J0MFHSz5FQ&index=17
at 4:34 ,You can ...
-4
votes
0
answers
18
views
How can i catch errors while using aiortc? [closed]
Based on aiortc server example is there any simple way for error handling such as big video/audio latency, connection corrupt, transactions errors, stun error, etc?
0
votes
0
answers
26
views
table of content scrolls and the heading shows behind the header [closed]
I have created a table of contents using radio buttons. When I click on a radio button, it navigates to the heading on the same page, but it scrolls to a position above the header. This is my code.
&...
-2
votes
0
answers
13
views
Problem with extraction of functions from ovito.modifiers
from ovito.modifiers._elastic_strain_modifier import DislocationAnalysisModifier
ImportError Traceback (most recent call last)
Cell In[32], line 1
----> 1 from ovito....
-1
votes
0
answers
42
views
VBA Outlook act when email arrive - error handling
I have a VBA code in outlook waiting for mail arrive to Groupmailbox to do something. It works well, until something bad happen on external resources. It process thousands of emails without any ...
4
votes
2
answers
21
views
Customizing the error page based on the status instead of Tomcat default page with springboot
Not able to redirect the error in the custom page.
Configuration:
server:
error:
whitelabel:
enabled: false
path: /error
spring:
web:
resources:
add-mappings: false
@...
0
votes
0
answers
24
views
Vue shows an image in one component, but in other component, gives 304 error and doesn't show the image
My Vue.js app has the public folder, with a folder for images, where I put the images for the app to use.
In Home component I can show the image with:
<img :src="'images/'+ product.image"&...
-1
votes
1
answer
18
views
Error in PowerBI: One or more calculated objects need to be manually refreshed [closed]
I ended up with an error message that stated "One or more calculated objects need to be manually refreshed" and a "Refresh now" button. Hitting Refresh did not appear to do ...