mirror of
https://github.com/actix/actix-web.git
synced 2025-01-02 21:38:46 +00:00
derive Debug for connector/resolver error
This commit is contained in:
parent
d8ed9ae43a
commit
56b31960f1
2 changed files with 2 additions and 1 deletions
|
@ -14,7 +14,7 @@ use super::resolver::{HostAware, Resolver, ResolverError, ResolverFuture};
|
|||
use super::{NewService, Service};
|
||||
|
||||
// #[derive(Fail, Debug)]
|
||||
|
||||
#[derive(Debug)]
|
||||
pub enum ConnectorError {
|
||||
/// Failed to resolve the hostname
|
||||
// #[fail(display = "Failed resolving hostname: {}", _0)]
|
||||
|
|
|
@ -13,6 +13,7 @@ use trust_dns_resolver::{AsyncResolver, Background};
|
|||
|
||||
use super::Service;
|
||||
|
||||
#[derive(Debug)]
|
||||
pub enum ResolverError {
|
||||
Resolve(ResolveError),
|
||||
InvalidInput,
|
||||
|
|
Loading…
Reference in a new issue