@@ -98,7 +98,7 @@ pub enum ExportBaoError {
9898 #[ snafu( display( "encode error: {source}" ) ) ]
9999 ExportBaoInner { source : bao_tree:: io:: EncodeError } ,
100100 #[ snafu( display( "client error: {source}" ) ) ]
101- ClientError { source : ProgressError } ,
101+ Progress { source : ProgressError } ,
102102}
103103
104104impl From < ExportBaoError > for Error {
@@ -109,7 +109,7 @@ impl From<ExportBaoError> for Error {
109109 ExportBaoError :: Request { source, .. } => Self :: Io ( source. into ( ) ) ,
110110 ExportBaoError :: ExportBaoIo { source, .. } => Self :: Io ( source) ,
111111 ExportBaoError :: ExportBaoInner { source, .. } => Self :: Io ( source. into ( ) ) ,
112- ExportBaoError :: ClientError { source, .. } => Self :: Io ( source. into ( ) ) ,
112+ ExportBaoError :: Progress { source, .. } => Self :: Io ( source. into ( ) ) ,
113113 }
114114 }
115115}
@@ -157,7 +157,7 @@ impl From<bao_tree::io::EncodeError> for ExportBaoError {
157157
158158impl From < ProgressError > for ExportBaoError {
159159 fn from ( value : ProgressError ) -> Self {
160- ClientSnafu . into_error ( value)
160+ ProgressSnafu . into_error ( value)
161161 }
162162}
163163
0 commit comments