2021-11-21 23:05:13 -05:00
|
|
|
package gosecret
|
2021-11-21 14:25:31 -05:00
|
|
|
|
|
|
|
import (
|
|
|
|
`errors`
|
|
|
|
)
|
|
|
|
|
2021-11-27 02:24:22 -05:00
|
|
|
// Errors.
|
2021-11-21 14:25:31 -05:00
|
|
|
var (
|
2021-11-27 02:24:22 -05:00
|
|
|
// 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")
|
2021-11-27 02:24:22 -05:00
|
|
|
// 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
|
|
|
)
|