Struct aws_smithy_http::endpoint::error::ResolveEndpointError
source · pub struct ResolveEndpointError { /* private fields */ }
Expand description
Endpoint resolution failed
Implementations§
source§impl ResolveEndpointError
impl ResolveEndpointError
sourcepub fn message(message: impl Into<String>) -> Self
pub fn message(message: impl Into<String>) -> Self
Create an ResolveEndpointError
with a message
sourcepub fn with_source(self, source: Option<Box<dyn Error + Send + Sync>>) -> Self
pub fn with_source(self, source: Option<Box<dyn Error + Send + Sync>>) -> Self
Add a source to the error
sourcepub fn from_source(
message: impl Into<String>,
source: impl Into<Box<dyn Error + Send + Sync>>
) -> Self
pub fn from_source( message: impl Into<String>, source: impl Into<Box<dyn Error + Send + Sync>> ) -> Self
Create a ResolveEndpointError
from a message and a source
Trait Implementations§
source§impl Debug for ResolveEndpointError
impl Debug for ResolveEndpointError
source§impl Display for ResolveEndpointError
impl Display for ResolveEndpointError
source§impl Error for ResolveEndpointError
impl Error for ResolveEndpointError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()