|
|
|
|
|
by Attummm
575 days ago
|
|
For me, the issue with error handling is that while errors are explicitly stated, they are often poorly handled. Rarely have I seen the handling of multiple reasons for why an error might occur, along with tailored approaches to handle each case. This is something very common in older languages like Python or Java |
|
Positive example of good and appropriate usage here: https://github.com/coder/websocket/blob/master/internal/exam...