|
|
|
|
|
by tsimionescu
2372 days ago
|
|
What I meant about abstraction is that if you define a function which returns an error struct instead of an error interface, you lose any abstraction capability, you can only return that specific struct (and need to find some way of signaling that no error occurred). |
|