pub struct SdkApiError {
pub status: Status,
pub endpoint: String,
pub feature_group: String,
}
Expand description
An error returned by the underlying API.
Fields§
§status: Status
The status code of the error.
endpoint: String
The endpoint that the error occurred on.
feature_group: String
The feature group the endpoint belongs to.
Trait Implementations§
source§impl Debug for SdkApiError
impl Debug for SdkApiError
source§impl Display for SdkApiError
impl Display for SdkApiError
source§impl Error for SdkApiError
impl Error for SdkApiError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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 From<SdkApiError> for SdkError
impl From<SdkApiError> for SdkError
source§fn from(source: SdkApiError) -> Self
fn from(source: SdkApiError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for SdkApiError
impl !RefUnwindSafe for SdkApiError
impl Send for SdkApiError
impl Sync for SdkApiError
impl Unpin for SdkApiError
impl !UnwindSafe for SdkApiError
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
Mutably borrows from an owned value. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request