Skip to main content
The 2026 Annual Developer Survey is live— take the Survey today!

Question list filters

Filter by
Sorted by
Tagged with
Filter by Employee ID
Score of 0
1 answer
114 views

I'm learning Blazor and databases, and I'm new to programming in general. I created a Blazor web assembly project, .NET 10 LTS with a simple local SQLite database. I just want to use SQLite inside my ...
Score of 2
1 answer
70 views

Ultimately, I'd like to reduce the redundancy of identical error messages and even prevent potential DDoS attacks. I've developed the following method in the Spring Boot application. The goal is for ...
Score of 0
1 answer
74 views

I have these routes: class ContentChangedIngestRoute( ) : RouteBuilder() { override fun configure() { from("aws2-sqs://myQueue?deleteAfterRead=true") .routeId("...
Advice
0 votes
6 replies
155 views

I am reading up about wrapping and unwrapping errors when doing a chain of calls. On this topic I came up the following snippet of code. err := controller() stack := []error{err} for len(stack) > ...
Score of 0
0 answers
90 views

With all the hype around agentic AI, and in order to skill up on this topic and on developing inter-connected services, I tried to make a local MCP server to connect with a llama.cpp instance, ...
Score of 0
1 answer
81 views

I usually come across the following error when installing a new package in Julia. When I run the following in the REPL: julia> import Pkg julia> Pkg.add("Foo") Updating registry at `~/...
Score of 1
0 answers
134 views

I am trying to fix up some error handling in VBA. Two patterns (that would be most useful) are problematic, two are not. In the code example below, code patterns 1 and 2 result in problematic ...
Best practices
2 votes
3 replies
98 views

I often write code like this allocate(a(n), stat=stat) if (stat /= 0) then write(*,*) "Allocation failed, stat =", stat stop 1 end if I understand that I should check stat, if I ...
Score of -1
2 answers
135 views

On this site and elsewhere, there are quite a few questions about how to handle errors when printing to a pipe in Perl. But none of the answers, solutions and explanations I have seen so far are ...
Advice
0 votes
5 replies
82 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 ...
Score of 2
2 answers
169 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 ...
Score of 1
2 answers
134 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 ...
Score of 0
1 answer
208 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 ...
Best practices
0 votes
2 replies
143 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 ...
Advice
0 votes
7 replies
105 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 ...

15 30 50 per page
1
2 3 4 5
1821