Error Codes
Most error codes and their associated documentation.
wire::key::File
txt
"error reading file"wire::key::SpawningCommand
txt
"error spawning key command"HELP
"Ensure wire has the correct $PATH for this command"
wire::key::Resolving
txt
"Error resolving key command child process"wire::key::CommandExit
txt
"key command failed with status {}: {}"wire::key::Empty
txt
"Command list empty"wire::key::ParseKeyPermissions
txt
"Failed to parse key permissions"HELP
"Refer to the documentation for the format of key file permissions."
wire::activation::SwitchToConfiguration
txt
"failed to run switch-to-configuration {0} on node {1}"wire::network::HostUnreachable
txt
"Cannot reach host {host}"HELP
"If you failed due to a fault in DNS, note that a node can have multiple targets defined."
wire::network::HostUnreachableAfterReboot
txt
"Failed to get regain connection to {0} after activation."wire::network::HostsExhausted
txt
"Ran out of contactable hosts"wire::hive_init::NoHiveFound
txt
"No hive could be found in {}"HELP
"Double check the path is correct. You can adjust the hive path with --path when the hive lies outside of the CWD."
wire::hive_init::Parse
txt
"Failed to parse internal wire json."HELP
"If you cannot resolve this problem, please create an issue."
wire::hive_init::ParsePrefetch
txt
"Failed to parse `nix flake prefetch --json`."HELP
"please create an issue."
wire::hive_init::NodeDoesNotExist
txt
"node {0} not exist in hive"HELP
"Please create an issue!"
wire::hive_location::MalformedPath
txt
"Path was malformed: {}"wire::hive_location::Malformed
txt
"--path was malformed"wire::hive_location::TypeUnsupported
txt
"The flakref had an unsupported type: {:#?}"wire::command::TermAttrs
txt
"Failed to set PTY attrs"wire::command::PosixPipe
txt
"There was an error in regards to a pipe"wire::command::PortablePty
Error wrapped around portable_pty's anyhow
errors
txt
"There was an error from the portable_pty crate"wire::command::Joining
txt
"Failed to join on some tokio task"wire::command::WaitForStatus
txt
"Failed to wait for the child's status"wire::detached::NoHandle
txt
"There was no handle to child io"HELP
"This should never happen, please create an issue!"
wire::command::WritingClientStdout
txt
"Failed to write to client stderr."wire::command::WritingMasterStdin
txt
"Failed to write to PTY master stdout."wire::command::Recv
txt
"Failed to receive a message from the begin channel"HELP
"please create an issue!"
wire::command::ThreadPanic
txt
"Thread panicked"HELP
"please create an issue!"
wire::command::CommandFailed
txt
"{command_ran} failed ({reason}) with {code} (last 20 lines):\n{logs}"HELP
"nix commands are filtered, run with -vvv to view all"
wire::command::RuntimeDirectory
txt
"error creating $XDG_RUNTIME_DIR/wire"wire::command::RuntimeDirectoryMissing
txt
"$XDG_RUNTIME_DIR could not be used."wire::command::OneshotRecvError
txt
"Error waiting for begin message"wire::BuildNode
txt
"failed to build node {name}"wire::CopyPath
txt
"failed to copy path {path} to node {name}"wire::Evaluate
txt
"failed to evaluate `{attribute}` from the context of a hive."wire::Encoding
txt
"error encoding length delimited data"