You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/lib.rs
+8-1Lines changed: 8 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -123,6 +123,8 @@ pub enum Error {
123
123
/// Returned when -rpcuser and/or -rpcpassword is used in `Conf` args
124
124
/// It will soon be deprecated, please use -rpcauth instead
125
125
RpcUserAndPasswordUsed,
126
+
/// Returned when expecting an auto-downloaded executable but `SKIP_DOWNLOAD` env var is set
127
+
SkipDownload,
126
128
}
127
129
128
130
impl fmt::DebugforError{
@@ -135,7 +137,8 @@ impl fmt::Debug for Error {
135
137
Error::NoBitcoindExecutableFound => write!(f,"`bitcoind` executable is required, provide it with one of the following: set env var `BITCOIND_EXE` or use a feature like \"22_1\" or have `bitcoind` executable in the `PATH`"),
136
138
Error::EarlyExit(e) => write!(f,"The bitcoind process terminated early with exit code {}", e),
137
139
Error::BothDirsSpecified => write!(f,"tempdir and staticdir cannot be enabled at same time in configuration options"),
138
-
Error::RpcUserAndPasswordUsed => write!(f,"`-rpcuser` and `-rpcpassword` cannot be used, it will be deprecated soon and it's recommended to use `-rpcauth` instead which works alongside with the default cookie authentication")
140
+
Error::RpcUserAndPasswordUsed => write!(f,"`-rpcuser` and `-rpcpassword` cannot be used, it will be deprecated soon and it's recommended to use `-rpcauth` instead which works alongside with the default cookie authentication"),
141
+
Error::SkipDownload => write!(f,"expecting an auto-downloaded executable but `SKIP_DOWNLOAD` env var is set"),
0 commit comments