Questions tagged [error-handling]
Programming language constructs designed to handle errors signaled by error codes, exceptions or other language specific means.
error-handling
27,465
questions
0
votes
0
answers
10
views
Html Webpack Plugin: Error: Child compilation failed: how should I have to solve it
I'm facing with this error
Compiled with problems:X
ERROR in ./src/scenes/Home/Intro.js 6:0-40
Module not found: Error: Can't resolve 'react-particles' in '..... \React-Portfolio-main\React-Portfolio-...
1
vote
0
answers
12
views
Web.Config Redirect for Azure.Core not working as expected
I have a Microsoft Web Site project (different than a Web Application) that has version 1.20.0.0 of Azure.Core.dll as an assembly in the project. However, a .cs file in the project is calling for ...
0
votes
0
answers
16
views
Microsoft Azure Application Insights Next JS server side logs diggest property
We have a project on Next.js. For logging, we're using Application Insights. There's no problem with client-side errors, but I can't catch server-side errors. The Next.js error is:
An error occurred ...
-1
votes
0
answers
13
views
npx error. the npx did not run what should i do for this
npm error could not determine executable to run
npm error A complete log of this run can be found in: C:\Users\Manuj\AppData\Local\npm-cache_logs\2024-07-19T07_10_33_916Z-debug-0.log
i try to run npx ...
-1
votes
0
answers
24
views
Getting error after upgrade application angular version 15 to 16. App has compile successfully on terminal but when run on browser it is giving error
"Getting error after upgrade application angular version 15 to 16. App has compile successfully on terminal but when run on browser it is giving error Getting error after upgrade application ...
0
votes
1
answer
20
views
Exception thrown in async React method is not caught in global error handler [duplicate]
I use React and have a code as this:
export default App;
window.onerror = function(error) {alert("Error caught: " + error);};
function App() {
perform().catch((error) =>{
...
0
votes
2
answers
33
views
When will a laravel model creation fail without an exception?
I am adding a store method to a controller that will create and save a new model to the database using the following code:
public function store(Request $request)
{
$validated = $request->...
0
votes
1
answer
18
views
Friedman test gives back error: not an unreplicated complete block design. How do I fix this?
Whatever I try, I keep getting the error 'not an unreplicated complete block design' when I try to perform a Friedman test in R.
I have a dataset with the total number of flower visits that I counted ...
0
votes
0
answers
32
views
Getting error as undefined in catch block under axios only for 500 series error [closed]
For API call I have implemented axios it's working properly for the http status 200 and 400 series as expected but for the 500 series errors iam getting error as undefined in catch block.
Note: need ...
-2
votes
2
answers
40
views
I have an Error trapping problem in Access
'The code works as I need it to other than the the error trap "On Error GoTo ThusError" fails. I have set Tools\Options\General to "Break in Class Module" as recommended in https://...
-3
votes
1
answer
43
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
31
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
37
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
22
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 ...