Add some error messages to be used by btcd.

ok jcv