Skip to main content
Filter by
Sorted by
Tagged with
-5 votes
0 answers
59 views

I am trying to access a property from an object in JavaScript, but I am getting the following error: TypeError: Cannot read properties of undefined Here is a simplified version of my code: let user; ...
user30811811's user avatar
Advice
0 votes
5 replies
55 views

A client sends a request to the server, e.g. POST /companies, where the request body looks like that: { "name": String (unique), "ownerId": Long (fk) } When I validate the ...
sebkaminski16's user avatar
2 votes
2 answers
111 views

What's the right way to throw a generic error using $PSCmdlet.ThrowTerminatingError()? My (possibly flawed) understanding is that inside an advanced function, such as one using the CmdletBinding, we ...
PC Luddite's user avatar
  • 6,186
1 vote
2 answers
123 views

I've been creating a basic version of a LinkedList class mainly for the sake of an assignment (though also to gain a better understanding of it all). I've gotten to the stage where I'm writing error ...
Neptunium-Eater's user avatar
0 votes
1 answer
137 views

I am writing a small cli application to learn rust and did start my error propagation with a lot of Result<_, Box<dyn std::error::Error>>. This is quite flexible and works nicely. Now I ...
Lucas's user avatar
  • 727
Best practices
0 votes
2 replies
94 views

This is my first attempt at implementing proper error handling in my project. I realized that as my project grows in complexity, the lack of structured error handling makes development much more ...
Roso's user avatar
  • 1
Advice
0 votes
7 replies
94 views

I am currently learning the basics of python and I am the beginning of my programming journey. I was doing a course and came across the following problem. I initially picked TypeError and ValueError ...
Quin Gardiner Bax's user avatar
0 votes
0 answers
30 views

Im building a platform which ends up allowing users to make use of mutliple tools to create meaningful outputs. One of them is manim illustration generation, this makes an llm call and generates code ...
dilip kumar's user avatar
Best practices
3 votes
10 replies
182 views

If I run malloc and it fails and returns NULL, can I assume that errno is set to ENOMEM? Of course, there are probably hundreds of embedded systems or otherwise slightly non-standard implementations ...
oosh's user avatar
  • 356
0 votes
0 answers
56 views

I have a custom app that I am developing but in the process of testing each step of the development process, I am running into trouble with the csv and xlsx notifications when uploading. I am getting ...
Rookie Recruits's user avatar
1 vote
1 answer
69 views

I am currently working on a project where I have to use GluonTS (the DeepAREstimator and DLinearEstimator). At the beginning it worked well. But now, even when I use the example code from the GluonTS ...
peter mafai's user avatar
1 vote
1 answer
61 views

I'm working with a Nuxt 2 application, and whenever I receive a 4XX or 5XX error response from my backend API, a red error "loading" overlay bar appears at the top of the application. I want ...
Przemek Baj's user avatar
1 vote
1 answer
123 views

Sub DELETE_Db_ROWS_THAT_CONTAIN_ITEMS_IN_AN_ARRAY() Dim MyArray As Variant MyArray = Array("Reinvest", "DBS", "WDL") 'Delete all rows containing these items ...
user540's user avatar
  • 11
0 votes
0 answers
71 views

I am developing a agent in my platform to have conversation with a user. For that i am using the signed URL api provided by the elevenLabs platform to generate the signed URL after that i am using the ...
Leon's user avatar
  • 1
2 votes
1 answer
157 views

Question Why do I get this pop-up error for my UDF, only when it is named Message() and called within an Excel formula and not qualified with the module name. I have found only two SO questions that ...
Greg's user avatar
  • 3,515
0 votes
0 answers
71 views

I am trying to run snow git execute @advanced_data_engineering_snowflake/branches/main/forums-analyes/pipeline/data/load_forums_data.sql -D "env='STAGING'" --database=COURSE_REPO --schema=...
Mig Rivera Cueva's user avatar
0 votes
1 answer
49 views

I’m a Salesforce developer working on an Apex trigger that updates contact records based on related account data. The trigger behaves as expected when records are created or updated one at a time from ...
bselavina's user avatar
5 votes
1 answer
227 views

I am writing a client application using Java Swing. I am quite confused about how a launcher can capture JVM crash information when the JVM crashes. The hs_err_pid[PID].log file is not generated. I ...
Elijah's user avatar
  • 79
-1 votes
1 answer
72 views

My program loops through a large number of parameter combinations and performs FindRoot on functions of those parameters. The results of the FindRoot calls are used in additional computations. At ...
Neil Geismar's user avatar
Advice
1 vote
11 replies
6k views

I am learning about different ways to handle errors in .NET REST APIs. I saw the result pattern being mentioned, and I'm now trying to implement it in a personal project. However, I can't help but ...
AlexPlayer15's user avatar
-1 votes
2 answers
170 views

I have a C# application with multiple layers (controllers, services, domain logic, and background workers). Error handling has become inconsistent because many methods contain their own try/catch ...
Mikias Gebresilasie's user avatar
Advice
0 votes
3 replies
90 views

I'm working with Angular 21 and I've added an interceptor like this: export const httpErrorInterceptor: HttpInterceptorFn = (req, next) => { return next(req).pipe( catchError((error: ...
KrzysiekYESS's user avatar
Tooling
0 votes
0 replies
55 views

Using VS Code, I usually fold/collapse all functions & code using Ctrl + K + 0 except for the function(s) I'm currently editing. However, if my changes induce errors in other parts of the code, I ...
saper0's user avatar
  • 394
2 votes
2 answers
239 views

This question is very similar to "How can we forward a failed std::expected up through the call stack". Given a chain of function calls that each return std::expected values, errors should ...
Adrian McCarthy's user avatar
-1 votes
1 answer
73 views

I have a node.js project doing speech-to-text transcription with the xenova/transformers models. My project shows a lot of warnings - how do I suppress the warnings to log only errors? I've tried ...
user3450049's user avatar
0 votes
1 answer
112 views

I'm building a kind of gallery app. Users are adding images by inserting URLs into the database and the HTML page is then hotlinking those. Obviously, because of link rotting, the gallery is full of ...
Shady Medic's user avatar
1 vote
0 answers
48 views

I’m encountering an issue with possible idempotencyBreachException in a service used by Kafka listener. I’m not entirely sure how to handle this situation correctly. I have a lockExecutor that locks a ...
Bogysh's user avatar
  • 11
1 vote
1 answer
72 views

How to make exceptions thrown from a socket server running in a task group task be propagated up to its parent TaskGroup? With given example, I'd expect to see the error raised from ...
laur's user avatar
  • 607
-4 votes
1 answer
82 views

I'm doing a mini project for a coding bootcamp and I'm trying to toggle elements. I have a form on my page that I want to make invisible when you submit it, so that the rest of the page shows. It isn'...
AirenMarie's user avatar
1 vote
1 answer
294 views

Power Automate (Cloud) lately has been having trouble properly displaying error messages. Instead of the errors being parsed for display, an incredibly verbose piece of JSON is displayed (sometimes ...
Bort's user avatar
  • 611
1 vote
1 answer
417 views

I have a LangGraph agent that is supposed to interact with the user in multi-round conversations and perform modifications to a kubernetes environment. I am using an external Model Context Protocol ...
FLKR's user avatar
  • 115
1 vote
1 answer
113 views

I am following the code from this tutorial. https://ecmwf-projects.github.io/copernicus-training-c3s/projections-cmip6.html When I type: # DOWNLOAD DATA FOR HISTORICAL PERIOD c = cdsapi.Client(url=...
climateresearcher567's user avatar
0 votes
1 answer
84 views

If I use: Rails.error.handle do my_possible_error_code end The possible error is swallowed and never raised. If I use: Rails.error.record do my_possible_error_code end The possible error is ...
fguillen's user avatar
  • 39.5k
1 vote
0 answers
192 views

I am new in C++ and Qt, I want to develop a simple app to practice C++. I am developing this simple app on VS Code using Qt6. Any time I try to run a simple code like the below one, this error message ...
Weverson Barbieri's user avatar
0 votes
0 answers
32 views

When using select-string to find if certain contents are in a file, if the file doesn't exist, -erroraction silentlycontinue appears to be ignored. Example: select-string -path "C:\temp\Test.txt&...
user66001's user avatar
  • 950
1 vote
1 answer
212 views

I have the following requirement. A website (lets call it Website A) where I sell subscription plans for my SaaS Payments are handled with Stripe I am using an authentication service (Auth0) so users ...
kmylonas's user avatar
-3 votes
1 answer
101 views

In Angular/RxJS, when should you use tap({ error }) and when catchError for side effects? How do you best separate the two logically or combine them? For example, does resetting the UI to its previous ...
Fabian Röhrle's user avatar
1 vote
1 answer
142 views

SEE FINAL EDIT FOR PARTIAL WORKAROUND I am trying to use the marginaleffects package in R, but when I call: library(marginaleffects) I get the error: Error: package or namespace load failed for ‘...
Micah Pavlidis's user avatar
0 votes
0 answers
151 views

I have a prehook in the config section of my model. I don't want it to be part of the project yml, just in my model query itself. It's been working fine up until this week where I started getting ...
Travis's user avatar
  • 1
-2 votes
1 answer
94 views

I'm building a React application with Redux Toolkit and need to handle token expiration automatically. When my access token expires, the server returns a 403 error, and I want to automatically refresh ...
bisky's user avatar
  • 27
1 vote
1 answer
142 views

I'm working through Bjarne Stroustrup's "Programming: Principles and Practice Using C++" and using the PPP_support.h file from the official website https://www.stroustrup.com/PPP_support.h I ...
Khavin S's user avatar
1 vote
1 answer
98 views

I have a .php page that generates a Fatal error: ... #2 [path1]/header.php(22): include('/Library/WebSer...') #3 [path2]/index.php(4): include('/Library/WebSer...') ... (where I've substituted [path#...
P. James Norris's user avatar
2 votes
1 answer
81 views

When I run the following PowerShell code: Start-Transcript try { throw 'I want to log this message...' } finally { Stop-Transcript } The message does not show in the transcript file. However,...
Daniel's user avatar
  • 81
0 votes
0 answers
87 views

I'm integrating the OpenAI API into my application and keep encountering a 429 error with the message "You exceeded your current quota, please check your plan and billing details". I ...
Muhammad Suleman's user avatar
0 votes
0 answers
70 views

There is a trait defined for error response which has all error codes but for few resources I want to update a separate error response for few error codes like 400,403. I defined the 400 error data ...
Uday's user avatar
  • 19
0 votes
1 answer
201 views

I'm following a video on youtube on creating a new mail with python. But I'm getting error. Am I missing something? My goal is to create a new mail and insert images from a folder into it. The first ...
user234568's user avatar
0 votes
1 answer
72 views

In our application, there are times when we the code isn't correct and we'd like to fail fast in that case. Say a component relies on a core configuration to function, but that configuration hasn't ...
LoneCodeRanger's user avatar
1 vote
1 answer
599 views

I've been working on a project on Next.js 14.1 using Supabase. I also use Supabase Auth for session and cookies storage. There is an error that happens really often and I haven't found a real solution ...
Gaston Jacinto's user avatar
0 votes
2 answers
110 views

I am trying to check if a value in a Result from a Rust function is an Err, and if so, print it out. However, when I run this, Rust gives an error that looks like it was expecting the Ok type. MWE: fn ...
phidas's user avatar
  • 29
0 votes
0 answers
57 views

I've been working with a "RESTlet" for a NetSuite installation. The RESTlet works fine, but it's based around some SuiteQL calls (SQL, basically), and while doing updates and testing I ...
Pointy's user avatar
  • 415k

1
2 3 4 5
547