|
|
|
|
|
by frontfor
396 days ago
|
|
Compared to Go where I always have to remember to print the stack trace in every goroutine’s panic handler or use a custom error type that includes the stack trace or I get nothing? And I have to do this very basic thing for every service I spin up? This might not matter for pet projects or CLI applications, but it matters a lot in large scale mission critical servers. |
|
Using "fmt.Errorf" is lean and painless compared to defining custom errors.