pub enum ProxyConfigError {
HomeDirUnavailable(Ecosystem),
InlineTokenEmpty(Ecosystem),
}Variants§
InlineTokenEmpty(Ecosystem)
CLEANLIB-129 / Jira CLEANLIB-28: refuse inline_token=true when the
provided api_key is missing or empty/whitespace-only. Pre-fix
behaviour emitted _authToken= (empty) → broken .npmrc.
Trait Implementations§
Source§impl Debug for ProxyConfigError
impl Debug for ProxyConfigError
Source§impl Display for ProxyConfigError
impl Display for ProxyConfigError
Source§impl Error for ProxyConfigError
impl Error for ProxyConfigError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for ProxyConfigError
impl RefUnwindSafe for ProxyConfigError
impl Send for ProxyConfigError
impl Sync for ProxyConfigError
impl Unpin for ProxyConfigError
impl UnsafeUnpin for ProxyConfigError
impl UnwindSafe for ProxyConfigError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more