Export a couple of peer-to-peer client errors.
ok @jcvernaleo
This commit is contained in:
parent
21b974e271
commit
f65ea832de
1 changed files with 12 additions and 0 deletions
12
jsonerr.go
12
jsonerr.go
|
@ -64,6 +64,18 @@ var (
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// Peer-to-peer client errors
|
||||||
|
var (
|
||||||
|
ErrClientNotConnected = Error{
|
||||||
|
Code: -9,
|
||||||
|
Message: "Bitcoin is not connected",
|
||||||
|
}
|
||||||
|
ErrClientInInitialDownload = Error{
|
||||||
|
Code: -10,
|
||||||
|
Message: "Bitcoin is downloading blocks...",
|
||||||
|
}
|
||||||
|
)
|
||||||
|
|
||||||
// Wallet JSON errors
|
// Wallet JSON errors
|
||||||
var (
|
var (
|
||||||
ErrWallet = Error{
|
ErrWallet = Error{
|
||||||
|
|
Loading…
Reference in a new issue