mirror of https://github.com/astral-sh/uv
Derive `Debug` for `CachedClientError` (#703)
Discovered while debugging https://github.com/astral-sh/puffin/pull/702
This commit is contained in:
parent
aa9f47bbde
commit
52ba65aa9c
|
|
@ -12,6 +12,7 @@ use puffin_cache::CacheEntry;
|
|||
use puffin_fs::write_atomic;
|
||||
|
||||
/// Either a cached client error or a (user specified) error from the callback
|
||||
#[derive(Debug)]
|
||||
pub enum CachedClientError<CallbackError> {
|
||||
Client(crate::Error),
|
||||
Callback(CallbackError),
|
||||
|
|
|
|||
Loading…
Reference in New Issue