/explore
|
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... |
|
| | | | | ||
| | | | |
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. |
|
| | | | | ||
| | | | |
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 |
|
| | | | | ||
| | | | |
alnvdl.github.io
A bit of history, a bit of atonement, a bit of shameless self-promotion. |
|
| | | |||