Create new or custom error using fmt.Errorf or errors.New in Go.

 read more »