walletmanager funcs done, now for wallet funcs
This commit is contained in:
20
errs.go
Normal file
20
errs.go
Normal file
@@ -0,0 +1,20 @@
|
||||
package gokwallet
|
||||
|
||||
import (
|
||||
"errors"
|
||||
)
|
||||
|
||||
var (
|
||||
/*
|
||||
ErrNotInitialized will be triggered if attempting to interact with an object that has not been properly initialized.
|
||||
Notably, in most/all cases this means that it was not created via a New<object> func (for instance,
|
||||
this would lead to a Wallet missing a handler).
|
||||
It is intended as a safety check (so that you don't accidentally delete a wallet with e.g. a handler of 0 when
|
||||
trying to delete a different wallet).
|
||||
*/
|
||||
ErrNotInitialized error = errors.New("object not properly initialized")
|
||||
/*
|
||||
ErrOperationFailed is a generic failure message that will occur of a Dbus operation returns non-success.
|
||||
*/
|
||||
ErrOperationFailed error = errors.New("a Dbus operation has failed to execute successfully")
|
||||
)
|
||||
Reference in New Issue
Block a user