gosecret/errs.go

16 lines
522 B
Go
Raw Normal View History

package gosecret
2021-11-21 14:25:31 -05:00
import (
`errors`
)
// Errors.
2021-11-21 14:25:31 -05:00
var (
// ErrBadDbusPath indicates an invalid path - either nothing exists at that path or the path is malformed.
2021-11-21 14:25:31 -05:00
ErrBadDbusPath error = errors.New("invalid dbus path")
// ErrInvalidProperty indicates a dbus.Variant is not the "real" type expected.
ErrInvalidProperty error = errors.New("invalid variant type; cannot convert")
// ErrNoDbusConn gets triggered if a connection to Dbus can't be detected.
ErrNoDbusConn error = errors.New("no valid dbus connection")
2021-11-21 14:25:31 -05:00
)