Enum aws_smithy_http::operation::BuildError [−][src]
#[non_exhaustive]
pub enum BuildError {
InvalidField {
field: &'static str,
details: String,
},
MissingField {
field: &'static str,
details: &'static str,
},
SerializationError(SerializationError),
InvalidUri {
uri: String,
err: InvalidUri,
message: Cow<'static, str>,
},
Other(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
An error occurred attempting to build an Operation
from an input
These are almost always due to user error caused by limitations of specific fields due to protocol serialization (e.g. fields that can only be a subset ASCII because they are serialized as the name of an HTTP header)
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
A field contained an invalid value
A field was missing
SerializationError(SerializationError)
The serializer could not serialize the input
Tuple Fields of SerializationError
The serializer did not produce a valid URI
This typically indicates that a field contained invalid characters.
Fields of InvalidUri
An error occurred request construction
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for BuildError
impl Send for BuildError
impl Sync for BuildError
impl Unpin for BuildError
impl !UnwindSafe for BuildError
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more