Struct aws_smithy_runtime_api::client::interceptors::error::InterceptorError
source · pub struct InterceptorError { /* private fields */ }
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.