GO ERROR Utilisation d'erreurf () dans Golang

package main
import "fmt"

func main() {

  age := -14

  // creating an error using Efforf()
  error := fmt.Errorf("%d is negative\nAge can't be negative", age)

  if age < 0 {
    fmt.Println(error)
  } else {
  fmt.Println("Age: %d", age);
  }
}
SAMER SAEID