Add some error messages to be used by btcd.

ok jcv
This commit is contained in:
Owain G. Ainsworth 2013-11-05 22:35:06 +00:00
parent 815a0b0a84
commit 56a62309ae

View File

@ -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",
}
)