A panic is an exception in Go

yourbasic.org/golang

See Recover from a panic [best practices].