32 lines
651 B
C#
32 lines
651 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace BTCPayServer.Hwi
|
|
{
|
|
/// <summary>
|
|
/// https://github.com/bitcoin-core/HWI/blob/master/hwilib/errors.py
|
|
/// </summary>
|
|
public enum HwiErrorCode
|
|
{
|
|
NoDeviceType = -1,
|
|
MissingArguments = -2,
|
|
DeviceConnError = -3,
|
|
UnknownDeviceType = -4,
|
|
InvalidTx = -5,
|
|
NoPassword = -6,
|
|
BadArgument = -7,
|
|
NotImplemented = -8,
|
|
UnavailableAction = -9,
|
|
DeviceAlreadyInit = -10,
|
|
DeviceAlreadyUnlocked = -11,
|
|
DeviceNotReady = -12,
|
|
UnknownError = -13,
|
|
ActionCanceled = -14,
|
|
DeviceBusy = -15,
|
|
NeedToBeRoot = -16,
|
|
HelpText = -17,
|
|
DeviceNotInitialized = -18
|
|
}
|
|
}
|