Standard library / testing/quick

testing/quick.SetupError.Error()

Return the setup diagnostic string. Expected stdout: 'bad configuration\n'.

Formal Syntax & Structure

go syntaxgo
func (s SetupError) Error() string

Return Value

string

Result of the operation described above.

Working Example

Example Snippetgo
package main
import (  "fmt"  "testing/quick")
func main() { fmt.Println(quick.SetupError("bad configuration").Error()) }
Go Reference