Skip to content

Commit

Permalink
Derive Debug for all error types (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
olix0r authored and carllerche committed Nov 19, 2017
1 parent 373ba52 commit 2db5ade
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions tower-balance/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ where T: Discover,
}

/// Error produced by `Balance`
#[derive(Debug)]
pub enum Error<T, U> {
Inner(T),
Balance(U),
Expand Down
1 change: 1 addition & 0 deletions tower-buffer/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ where T: Service,
}

/// Errors produced by `Buffer`.
#[derive(Debug)]
pub enum Error<T> {
Inner(T),
Closed,
Expand Down
1 change: 1 addition & 0 deletions tower-util/src/option.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ pub struct ResponseFuture<T> {
}

/// Error produced by `OptionService` responding to a request.
#[derive(Debug)]
pub enum Error<T> {
Inner(T),
None,
Expand Down

0 comments on commit 2db5ade

Please sign in to comment.