Just to expand on this for other&#x27;s benefit, it&#x27;s not idiomatic for errors to result in panics; in general Go code will soldier on. If you&#x27;re expecting code with trouble to &#x27;throw&#x27; an exception and puke, you&#x27;re in for a bad time, or at least a confusing one.