Struct aws_sdk_sagemakerruntime::error::ModelError
source · #[non_exhaustive]pub struct ModelError { /* private fields */ }
Expand description
Model (owned by the customer in the container) returned 4xx or 5xx error code.
Implementations§
source§impl ModelError
impl ModelError
sourcepub fn original_status_code(&self) -> Option<i32>
pub fn original_status_code(&self) -> Option<i32>
Original status code.
sourcepub fn original_message(&self) -> Option<&str>
pub fn original_message(&self) -> Option<&str>
Original message.
sourcepub fn log_stream_arn(&self) -> Option<&str>
pub fn log_stream_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the log stream.
source§impl ModelError
impl ModelError
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ModelError
.
Trait Implementations§
source§impl Clone for ModelError
impl Clone for ModelError
source§fn clone(&self) -> ModelError
fn clone(&self) -> ModelError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ModelError
impl Debug for ModelError
source§impl Display for ModelError
impl Display for ModelError
source§impl Error for ModelError
impl Error for ModelError
1.30.0 · 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()
source§impl PartialEq<ModelError> for ModelError
impl PartialEq<ModelError> for ModelError
source§fn eq(&self, other: &ModelError) -> bool
fn eq(&self, other: &ModelError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.