error golang struct code example
Example: golang create error
// simple string-based error
err1 := errors.New("math: square root of negative number")
// simple string-based error
err1 := errors.New("math: square root of negative number")