Loading...

Using the error Interface for Richer APIs (Episode 17)

4,310 views

Loading...

Loading...

Transcript

The interactive transcript could not be loaded.

Loading...

Rating is available when the video has been rented.
This feature is not available right now. Please try again later.
Published on Nov 6, 2016

Go In 5 Minutes is Sponsored by Minio - Minio is an open source object storage server, compatible with Amazon S3 and written in Go. https://github.com/minio https://gitter.im/minio/minio

This screencast talks about how to extend the error interface (https://godoc.org/builtin#error) to create your own error types.

In the sample code, we focus on how & why to create your own error types. We also introduce some best practices when doing so in your own packages.

Code and outlines are available on Github at: https://github.com/arschles/go-in-5-m...

Sign up for our newsletter to get new screencast notifications by email: http://www.goin5minutes.com/subscribe....

Loading...

When autoplay is enabled, a suggested video will automatically play next.

Up next


to add this to Watch Later

Add to

Loading playlists...