Skip to main content
The 2026 Annual Developer Survey is live— take the Survey today!
Filter by
Sorted by
Tagged with
Filter by Employee ID
Score of -4
0 answers
86 views

While installing git, while home brew. According to the tutorial, we first need to copy the line of code from the homebrew page, which goes like /bin/bash -c "$(curl -fsSL https://raw....
Score of 0
1 answer
109 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
66 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
72 views

I have these routes: class ContentChangedIngestRoute( ) : RouteBuilder() { override fun configure() { from("aws2-sqs://myQueue?deleteAfterRead=true") .routeId("...
Advice
0 votes
6 replies
144 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
82 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
77 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
133 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
97 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
130 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 ...
Score of -1
0 answers
38 views

I am experiencing some strange behaviour while using IErrorHandler with Rebus for second level retry and dead-lettering messages. In my implementation of IErrorHandler as usual I am using the value of ...
Advice
0 votes
5 replies
79 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
164 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
204 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 ...

15 30 50 per page
1
2 3 4 5
1821