zenity/internal/zenutil/env.go
2021-05-04 12:48:19 +01:00

12 lines
278 B
Go

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) }