radicle: Small error message improvements

This commit is contained in:
cloudhead 2024-01-04 14:23:53 +01:00
parent e7110efbf6
commit 2d71093608
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

View File

@ -139,11 +139,11 @@ pub enum Error {
Keystore(#[from] keystore::Error), Keystore(#[from] keystore::Error),
#[error(transparent)] #[error(transparent)]
MemorySigner(#[from] keystore::MemorySignerError), MemorySigner(#[from] keystore::MemorySignerError),
#[error("no profile found at path '{0}'")] #[error("no radicle profile found at path '{0}'")]
NotFound(PathBuf), NotFound(PathBuf),
#[error("error connecting to ssh-agent: {0}")] #[error("error connecting to ssh-agent: {0}")]
Agent(#[from] crate::crypto::ssh::agent::Error), Agent(#[from] crate::crypto::ssh::agent::Error),
#[error("profile key `{0}` is not registered with ssh-agent")] #[error("radicle key `{0}` is not registered; run `rad auth` to register it with ssh-agent")]
KeyNotRegistered(PublicKey), KeyNotRegistered(PublicKey),
#[error(transparent)] #[error(transparent)]
PolicyStore(#[from] node::policy::store::Error), PolicyStore(#[from] node::policy::store::Error),