Learn how to define custom error types in Golang. Add contextual information to your errors by implementing the error interface on custom structs.