Add some error messages to be used by btcd.
ok jcv
This commit is contained in:
parent
815a0b0a84
commit
56a62309ae
1 changed files with 12 additions and 0 deletions
12
jsonerr.go
12
jsonerr.go
|
@ -145,3 +145,15 @@ var (
|
|||
Message: "Unable to decode hex string",
|
||||
}
|
||||
)
|
||||
|
||||
// Errors that are specific to btcd.
|
||||
var (
|
||||
ErrNoWallet = Error{
|
||||
Code: -1,
|
||||
Message: "This implementation does not implement wallet commands",
|
||||
}
|
||||
ErrUnimplemented = Error{
|
||||
Code: -1,
|
||||
Message: "Command unimplemented",
|
||||
}
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue