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(
source: impl Into<Box<dyn Error + Send + Sync + 'static>>
) -> Self
pub fn read_before_execution( 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(
source: impl Into<Box<dyn Error + Send + Sync + 'static>>
) -> Self
pub fn modify_before_serialization( 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(
source: impl Into<Box<dyn Error + Send + Sync + 'static>>
) -> Self
pub fn read_before_serialization( 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(
source: impl Into<Box<dyn Error + Send + Sync + 'static>>
) -> Self
pub fn read_after_serialization( 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(
source: impl Into<Box<dyn Error + Send + Sync + 'static>>
) -> Self
pub fn modify_before_retry_loop( 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(
source: impl Into<Box<dyn Error + Send + Sync + 'static>>
) -> Self
pub fn read_before_attempt( 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(
source: impl Into<Box<dyn Error + Send + Sync + 'static>>
) -> Self
pub fn modify_before_signing( 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(
source: impl Into<Box<dyn Error + Send + Sync + 'static>>
) -> Self
pub fn read_before_signing( 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(
source: impl Into<Box<dyn Error + Send + Sync + 'static>>
) -> Self
pub fn read_after_signing( 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(
source: impl Into<Box<dyn Error + Send + Sync + 'static>>
) -> Self
pub fn modify_before_transmit( 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(
source: impl Into<Box<dyn Error + Send + Sync + 'static>>
) -> Self
pub fn read_before_transmit( 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(
source: impl Into<Box<dyn Error + Send + Sync + 'static>>
) -> Self
pub fn read_after_transmit( 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(
source: impl Into<Box<dyn Error + Send + Sync + 'static>>
) -> Self
pub fn modify_before_deserialization( 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(
source: impl Into<Box<dyn Error + Send + Sync + 'static>>
) -> Self
pub fn read_before_deserialization( 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(
source: impl Into<Box<dyn Error + Send + Sync + 'static>>
) -> Self
pub fn read_after_deserialization( 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(
source: impl Into<Box<dyn Error + Send + Sync + 'static>>
) -> Self
pub fn modify_before_attempt_completion( 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(
source: impl Into<Box<dyn Error + Send + Sync + 'static>>
) -> Self
pub fn read_after_attempt( 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(
source: impl Into<Box<dyn Error + Send + Sync + 'static>>
) -> Self
pub fn modify_before_completion( 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(
source: impl Into<Box<dyn Error + Send + Sync + 'static>>
) -> Self
pub fn read_after_execution( 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(
source: impl Into<Box<dyn Error + Send + Sync + 'static>>
) -> Self
pub fn modify_before_attempt_completion_failed( 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(
source: impl Into<Box<dyn Error + Send + Sync + 'static>>
) -> Self
pub fn read_after_attempt_failed( 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(
source: impl Into<Box<dyn Error + Send + Sync + 'static>>
) -> Self
pub fn modify_before_completion_failed( 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(
source: impl Into<Box<dyn Error + Send + Sync + 'static>>
) -> Self
pub fn read_after_execution_failed( 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.