github.com/alkemics/goflow@v0.2.1/wrappers/outputs/errors.go (about) 1 package outputs 2 3 import ( 4 "fmt" 5 "strings" 6 ) 7 8 type TooManyErrorOutputsError struct { 9 Names []string 10 } 11 12 func (e TooManyErrorOutputsError) Error() string { 13 return fmt.Sprintf("more than one error output [%s]", strings.Join(e.Names, ", ")) 14 }