Skip to main content

All Questions

0 votes
0 answers
47 views

After submission if there are any error, on user inputfield typing wants to remove that error. My Approach. ...
Devang Gondaliya's user avatar
1 vote
0 answers
140 views

Background I am building a complex, standalone class. It has a property called .Mapping, which should behave like a Dictionary. ...
Greg's user avatar
  • 569
1 vote
3 answers
158 views

This is the code. I'm uncertain about the last block. ...
yoda's user avatar
  • 277
1 vote
0 answers
55 views

I am building a TS wrapper around the fetch that adds automatic retries for certain errors. The error handling using a custom ApiError class and maps various error ...
KristalkillPlay's user avatar
8 votes
4 answers
1k views

I have built a data pipeline in Python (3.12). It typically processes hundreds of thousands of files and runs for several days. A particular pipeline function calls external web APIs that sometimes ...
farhanhubble's user avatar
5 votes
2 answers
201 views

I asked this question on StackOverflow, and got exactly the answer I needed at the time. I am now here to ask - Is this a good design? The motivation for writing up this library: my shop writes ...
jdc's user avatar
  • 153
6 votes
3 answers
276 views

I've developed a Python script that automates the management of GitHub labels. It utilizes both the GitHub GraphQL API (to fetch label data) and the REST API (to update, delete, and merge labels). The ...
kiaora's user avatar
  • 141
0 votes
1 answer
109 views

I was trying to come up with some design to subclass built-in exceptions. For simplest case I used something like this: ...
Jakub's user avatar
  • 11
0 votes
3 answers
238 views

I’m working with custom exceptions in Java for stack operations. However, I’m unsure if the exception handling is being handled properly, especially in terms of how exceptions are thrown and caught. ...
Somesh's user avatar
  • 11
5 votes
1 answer
104 views

I'm developing a pipeline that processes unknown ingredient data from the OpenFoodFacts API. The goal is to find valid German words that are not yet in their taxonomy. The tool performs the following ...
kiaora's user avatar
  • 141
4 votes
1 answer
176 views

In Drupal 11 or greater, this code is used to change the node type of a node. How would you improve the code if at all? ...
the_humble_asker's user avatar
7 votes
1 answer
314 views

I wanted to get an in-depth view of both Templates and Concepts in C++, so I made this library. https://github.com/Hernanatn/errores-- I'd like to ask: is this a proper use of concepts? is the code ...
HernanATN's user avatar
  • 369
12 votes
2 answers
2k views

I've been looking into and experimenting with various paradigms for error handling in C++. My goals for a robust error handling mechanism would be: Enforce handling the error cases (in other words, ...
golgi apparatus's user avatar
4 votes
1 answer
132 views

Recently, I had written a Result class. Basically I wanted a function to return result value on success and some error code on failure. ...
kiner_shah's user avatar
3 votes
3 answers
773 views

I have a scenario where I need to store values from some environment variables (names of which I cannot control). My first run at this was pretty basic, however this is not usable as an exception ...
David Gard's user avatar

15 30 50 per page
1
2 3 4 5
56