document api crate

This commit is contained in:
Trinity Pointard
2021-03-26 22:32:09 +01:00
parent ee9b685994
commit a74eccfd6e
8 changed files with 42 additions and 13 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ use garage_util::error::Error as GarageError;
pub enum Error {
/// An error received from the API crate
#[error(display = "API error: {}", _0)]
ApiError(#[error(source)] garage_api::error::Error),
ApiError(#[error(source)] garage_api::Error),
// Category: internal error
/// Error internal to garage