elvish/stub/badsignal.go

12 lines
166 B
Go

package stub
type BadSignal struct {
Error error
}
func (bs BadSignal) String() string {
return "bad signal: " + bs.Error.Error()
}
func (BadSignal) Signal() {}