|
You are here |
www.joeshaw.org | ||
| | | | |
markphelps.me
|
|
| | | | | Mark Phelps' blog | |
| | | | |
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... | |
| | | | |
miparnisariblog.wordpress.com
|
|
| | | | | From simpler to more complex: 1. errors.New() or fmt.Errorf() without a sentinel error Only use for quick prototyping 2. Sentinel errors When you have an interface and want implementations to be able to throw errors and then catch them to run some logic But! you won't be able to customize the error thrown var (... | |
| | | | |
benhoyt.com
|
|
| | | Simple Lists is a tiny to-do list web application written in Go, with old school server-side rendering and no JavaScript. | ||