pub struct InterceptorError { /* private fields */ }
client
only.Expand description
An error related to Smithy interceptors.
Implementations§
Source§impl InterceptorError
impl InterceptorError
Sourcepub fn read_before_execution(
interceptor_name: impl Into<String>,
source: impl Into<Box<dyn Error + Send + Sync + 'static>>,
) -> Self
pub fn read_before_execution( interceptor_name: impl Into<String>, source: impl Into<Box<dyn Error + Send + Sync + 'static>>, ) -> Self
Create a new error indicating a failure with a read_before_execution interceptor.
Sourcepub fn modify_before_serialization(
interceptor_name: impl Into<String>,
source: impl Into<Box<dyn Error + Send + Sync + 'static>>,
) -> Self
pub fn modify_before_serialization( interceptor_name: impl Into<String>, source: impl Into<Box<dyn Error + Send + Sync + 'static>>, ) -> Self
Create a new error indicating a failure with a modify_before_serialization interceptor.
Sourcepub fn read_before_serialization(
interceptor_name: impl Into<String>,
source: impl Into<Box<dyn Error + Send + Sync + 'static>>,
) -> Self
pub fn read_before_serialization( interceptor_name: impl Into<String>, source: impl Into<Box<dyn Error + Send + Sync + 'static>>, ) -> Self
Create a new error indicating a failure with a read_before_serialization interceptor.
Sourcepub fn read_after_serialization(
interceptor_name: impl Into<String>,
source: impl Into<Box<dyn Error + Send + Sync + 'static>>,
) -> Self
pub fn read_after_serialization( interceptor_name: impl Into<String>, source: impl Into<Box<dyn Error + Send + Sync + 'static>>, ) -> Self
Create a new error indicating a failure with a read_after_serialization interceptor.
Sourcepub fn modify_before_retry_loop(
interceptor_name: impl Into<String>,
source: impl Into<Box<dyn Error + Send + Sync + 'static>>,
) -> Self
pub fn modify_before_retry_loop( interceptor_name: impl Into<String>, source: impl Into<Box<dyn Error + Send + Sync + 'static>>, ) -> Self
Create a new error indicating a failure with a modify_before_retry_loop interceptor.
Sourcepub fn read_before_attempt(
interceptor_name: impl Into<String>,
source: impl Into<Box<dyn Error + Send + Sync + 'static>>,
) -> Self
pub fn read_before_attempt( interceptor_name: impl Into<String>, source: impl Into<Box<dyn Error + Send + Sync + 'static>>, ) -> Self
Create a new error indicating a failure with a read_before_attempt interceptor.
Sourcepub fn modify_before_signing(
interceptor_name: impl Into<String>,
source: impl Into<Box<dyn Error + Send + Sync + 'static>>,
) -> Self
pub fn modify_before_signing( interceptor_name: impl Into<String>, source: impl Into<Box<dyn Error + Send + Sync + 'static>>, ) -> Self
Create a new error indicating a failure with a modify_before_signing interceptor.
Sourcepub fn read_before_signing(
interceptor_name: impl Into<String>,
source: impl Into<Box<dyn Error + Send + Sync + 'static>>,
) -> Self
pub fn read_before_signing( interceptor_name: impl Into<String>, source: impl Into<Box<dyn Error + Send + Sync + 'static>>, ) -> Self
Create a new error indicating a failure with a read_before_signing interceptor.
Sourcepub fn read_after_signing(
interceptor_name: impl Into<String>,
source: impl Into<Box<dyn Error + Send + Sync + 'static>>,
) -> Self
pub fn read_after_signing( interceptor_name: impl Into<String>, source: impl Into<Box<dyn Error + Send + Sync + 'static>>, ) -> Self
Create a new error indicating a failure with a read_after_signing interceptor.
Sourcepub fn modify_before_transmit(
interceptor_name: impl Into<String>,
source: impl Into<Box<dyn Error + Send + Sync + 'static>>,
) -> Self
pub fn modify_before_transmit( interceptor_name: impl Into<String>, source: impl Into<Box<dyn Error + Send + Sync + 'static>>, ) -> Self
Create a new error indicating a failure with a modify_before_transmit interceptor.
Sourcepub fn read_before_transmit(
interceptor_name: impl Into<String>,
source: impl Into<Box<dyn Error + Send + Sync + 'static>>,
) -> Self
pub fn read_before_transmit( interceptor_name: impl Into<String>, source: impl Into<Box<dyn Error + Send + Sync + 'static>>, ) -> Self
Create a new error indicating a failure with a read_before_transmit interceptor.
Sourcepub fn read_after_transmit(
interceptor_name: impl Into<String>,
source: impl Into<Box<dyn Error + Send + Sync + 'static>>,
) -> Self
pub fn read_after_transmit( interceptor_name: impl Into<String>, source: impl Into<Box<dyn Error + Send + Sync + 'static>>, ) -> Self
Create a new error indicating a failure with a read_after_transmit interceptor.
Sourcepub fn modify_before_deserialization(
interceptor_name: impl Into<String>,
source: impl Into<Box<dyn Error + Send + Sync + 'static>>,
) -> Self
pub fn modify_before_deserialization( interceptor_name: impl Into<String>, source: impl Into<Box<dyn Error + Send + Sync + 'static>>, ) -> Self
Create a new error indicating a failure with a modify_before_deserialization interceptor.
Sourcepub fn read_before_deserialization(
interceptor_name: impl Into<String>,
source: impl Into<Box<dyn Error + Send + Sync + 'static>>,
) -> Self
pub fn read_before_deserialization( interceptor_name: impl Into<String>, source: impl Into<Box<dyn Error + Send + Sync + 'static>>, ) -> Self
Create a new error indicating a failure with a read_before_deserialization interceptor.
Sourcepub fn read_after_deserialization(
interceptor_name: impl Into<String>,
source: impl Into<Box<dyn Error + Send + Sync + 'static>>,
) -> Self
pub fn read_after_deserialization( interceptor_name: impl Into<String>, source: impl Into<Box<dyn Error + Send + Sync + 'static>>, ) -> Self
Create a new error indicating a failure with a read_after_deserialization interceptor.
Sourcepub fn modify_before_attempt_completion(
interceptor_name: impl Into<String>,
source: impl Into<Box<dyn Error + Send + Sync + 'static>>,
) -> Self
pub fn modify_before_attempt_completion( interceptor_name: impl Into<String>, source: impl Into<Box<dyn Error + Send + Sync + 'static>>, ) -> Self
Create a new error indicating a failure with a modify_before_attempt_completion interceptor.
Sourcepub fn read_after_attempt(
interceptor_name: impl Into<String>,
source: impl Into<Box<dyn Error + Send + Sync + 'static>>,
) -> Self
pub fn read_after_attempt( interceptor_name: impl Into<String>, source: impl Into<Box<dyn Error + Send + Sync + 'static>>, ) -> Self
Create a new error indicating a failure with a read_after_attempt interceptor.
Sourcepub fn modify_before_completion(
interceptor_name: impl Into<String>,
source: impl Into<Box<dyn Error + Send + Sync + 'static>>,
) -> Self
pub fn modify_before_completion( interceptor_name: impl Into<String>, source: impl Into<Box<dyn Error + Send + Sync + 'static>>, ) -> Self
Create a new error indicating a failure with a modify_before_completion interceptor.
Sourcepub fn read_after_execution(
interceptor_name: impl Into<String>,
source: impl Into<Box<dyn Error + Send + Sync + 'static>>,
) -> Self
pub fn read_after_execution( interceptor_name: impl Into<String>, source: impl Into<Box<dyn Error + Send + Sync + 'static>>, ) -> Self
Create a new error indicating a failure with a read_after_execution interceptor.
Sourcepub fn modify_before_attempt_completion_failed(
interceptor_name: impl Into<String>,
source: impl Into<Box<dyn Error + Send + Sync + 'static>>,
) -> Self
pub fn modify_before_attempt_completion_failed( interceptor_name: impl Into<String>, source: impl Into<Box<dyn Error + Send + Sync + 'static>>, ) -> Self
Create a new error indicating a failure with a modify_before_attempt_completion_failed interceptor.
Sourcepub fn read_after_attempt_failed(
interceptor_name: impl Into<String>,
source: impl Into<Box<dyn Error + Send + Sync + 'static>>,
) -> Self
pub fn read_after_attempt_failed( interceptor_name: impl Into<String>, source: impl Into<Box<dyn Error + Send + Sync + 'static>>, ) -> Self
Create a new error indicating a failure with a read_after_attempt_failed interceptor.
Sourcepub fn modify_before_completion_failed(
interceptor_name: impl Into<String>,
source: impl Into<Box<dyn Error + Send + Sync + 'static>>,
) -> Self
pub fn modify_before_completion_failed( interceptor_name: impl Into<String>, source: impl Into<Box<dyn Error + Send + Sync + 'static>>, ) -> Self
Create a new error indicating a failure with a modify_before_completion_failed interceptor.
Sourcepub fn read_after_execution_failed(
interceptor_name: impl Into<String>,
source: impl Into<Box<dyn Error + Send + Sync + 'static>>,
) -> Self
pub fn read_after_execution_failed( interceptor_name: impl Into<String>, source: impl Into<Box<dyn Error + Send + Sync + 'static>>, ) -> Self
Create a new error indicating a failure with a read_after_execution_failed interceptor.
Sourcepub fn invalid_request_access() -> Self
pub fn invalid_request_access() -> Self
Create a new error indicating that an interceptor tried to access the request out of turn.
Sourcepub fn invalid_response_access() -> Self
pub fn invalid_response_access() -> Self
Create a new error indicating that an interceptor tried to access the response out of turn.
Sourcepub fn invalid_input_access() -> Self
pub fn invalid_input_access() -> Self
Create a new error indicating that an interceptor tried to access the input out of turn.
Sourcepub fn invalid_output_access() -> Self
pub fn invalid_output_access() -> Self
Create a new error indicating that an interceptor tried to access the output out of turn.
Trait Implementations§
Source§impl Debug for InterceptorError
impl Debug for InterceptorError
Source§impl Display for InterceptorError
impl Display for InterceptorError
Source§impl Error for InterceptorError
impl Error for InterceptorError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
Source§impl<E> From<InterceptorError> for OrchestratorError<E>
impl<E> From<InterceptorError> for OrchestratorError<E>
Source§fn from(err: InterceptorError) -> Self
fn from(err: InterceptorError) -> Self
Auto Trait Implementations§
impl Freeze for InterceptorError
impl !RefUnwindSafe for InterceptorError
impl Send for InterceptorError
impl Sync for InterceptorError
impl Unpin for InterceptorError
impl !UnwindSafe for InterceptorError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more