/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

alexrichey.com
| | blog.carlana.net

The other day, I was reading a website about some historical documents, when I saw that it had an error message on top: Screenshot from the site Some quick searching online for the error message revealed that it was caused by a mismatch between the site's versions of PHP and WordPress. Older versions of WordPress had a bug in the switch statement of a certain localization component, and later versions of PHP dump a warning about this bug out to the end user HTML. When I came back to the site a few days later, it had been fixed. The ultimate reason for my seeing for the error message as a random reader is that PHP has too many ways to deal with errors: Builtin PHP functions, and therefore any PHP project, have a whole range of error handling mechanisms - erro...
1.8 parsecs

Travel
| |
| | linksort.com

In writing a REST API, we have to deal with at least two types of errors. Client errors: These errors are the fault of the user, e.g., providing an invalid...
0.1 parsecs

Travel
| |
| | www.joeshaw.org

A scheme for consistent and safe HTTP API errors
1.5 parsecs

Travel
| |
| | hjr265.me

I know many will start with something like Gin whenever they are working on a JSON/HTTP-based backend in Go. I, not entirely sure if the minority, try to stick to Go's built-in net/http package and, at most, use Gorilla Mux in most of my Go projects. And so serving something simple like JSON is no different from the package's point of view as any other content type: whatever it is, write it out to the w, the http.
21.3 parsecs

Travel
|