Use new error handling in BitcoinKit.