In many cases fmt.Errorf is good enough, but since error is an interface, you can use arbitrary data structures as error values, to allow callers to inspect the details of the error. |
||
---|---|---|
.. | ||
minioapi | ||
webuiapi |
In many cases fmt.Errorf is good enough, but since error is an interface, you can use arbitrary data structures as error values, to allow callers to inspect the details of the error. |
||
---|---|---|
.. | ||
minioapi | ||
webuiapi |