mirror of
https://github.com/btcsuite/btcd.git
synced 2024-11-20 10:11:49 +01:00
Add some error messages to be used by btcd.
ok jcv
This commit is contained in:
parent
815a0b0a84
commit
56a62309ae
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 New Issue
Block a user