zenity/internal/zenutil/env.go

13 lines
278 B
Go
Raw Normal View History

2021-04-30 14:19:14 -04:00
package zenutil
// These are internal.
const (
ErrCanceled = stringErr("dialog canceled")
ErrExtraButton = stringErr("extra button pressed")
ErrUnsupported = stringErr("unsupported option")
)
type stringErr string
func (e stringErr) Error() string { return string(e) }