I don’t understand how if a user is not found or if permissions are not correct, that we shouldn’t return an error response? Or am I mixing up exceptions and error responses?

Related Stories

How do I write a parser that doesn't crash or malform itself when it encounters an error?

Golang http api return an Error: socket hang up

How I Don't Use LLMs

Are We Using A.I. or is A.I. Using Us?

Is Django better for monolithic or microservices if I want low latency and high performance?

eserde: Don't stop at the first deserialization error - Mainmatter

Don't fear getting fired if you have ADHD

Is * deref also getting ownership or am I cloning?

Don’t let an LLM make decisions or execute business logic

You Don't Have Time Not to Test

I don't like traveling anymore

I don't get async lambdas

Ask HN: How do you monetize personal code if it's not an "app"?

Why doesn't Write use an associated type for the Error?

How We Got the Generics We Have: (Or, how I learned to stop worrying and love erasure)

Am i crazy or is documentation for most go libraries actually horrible

If you use AI to write me that note, don't expect me to read it

Faking ADTs and GADTs in Languages That Shouldn't Have Them

We don’t need no virtualization

Is this a normal development workflow or am I just being too picky?

Why I don't discuss politics with friends

UI tip: maybe don't round percentages to 0% or 100%

I am NOT a Fan of Heroism in the Engineering Industry

How to fix: error[E0277]: `Option<&i32>` doesn't implement `std::fmt::Display`

Python Performance: Why 'if not list' is 2x Faster Than Using len()

I don't like ORMs… so I went ahead and built one from scratch anyway 🙃

Don’t Delete – Just Don’t (2009)

Need Advice on Error Handling And Keeping Them User-Friendly

What I would do if I was 18 now

I made a project in Golang with no packages or libraries (also not ORM's)