/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

markphelps.me
| | 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...
2.5 parsecs

Travel
| |
| | mfbmina.dev

Nowadays, a huge part of a developer's work consists in calling APIs, sometimes to integrate with a team within the company, sometimes to build an integration with a supplier. The other big role in daily work is to write tests. Tests ensure (or should guarantee :D) that all the code written by us works on how it is expected and, therefore, it will not happen any surprises when the feature is running at production environment.
2.5 parsecs

Travel
| |
| | lanre.wtf

Errors in http handlers in Go are ridiculously complex to handler. Depending on how simple or complex your handler is, you can always fail to return an error somewhere after sending the response. Here is how I handle it
2.0 parsecs

Travel
| |
| | alnvdl.github.io

A bit of history, a bit of atonement, a bit of shameless self-promotion.
3.2 parsecs

Travel
|