pub enum SoapErrorKind {
NotFound,
Validation,
Conflict,
Unauthorized,
Forbidden,
RateLimited,
Domain,
Unsupported,
Timeout,
Unavailable,
Infrastructure,
}Expand description
Stable category of a SoapError.
Applications and transports should branch on this value instead of parsing an error message or depending on an infrastructure-specific source type.
Variants§
NotFound
A requested resource does not exist.
Validation
Input or domain validation failed.
Conflict
The requested change conflicts with existing state.
Authentication is missing or invalid.
Forbidden
The authenticated actor is not allowed to perform an operation.
RateLimited
A configured request or operation quota has been exhausted.
Domain
A domain invariant or operation failed.
Unsupported
A requested capability is not supported by an adapter.
Timeout
An infrastructure operation exceeded its deadline.
An infrastructure dependency is temporarily unavailable.
Infrastructure
An infrastructure component failed for another reason.
Implementations§
Source§impl SoapErrorKind
impl SoapErrorKind
Sourcepub const fn is_reportable(self) -> bool
pub const fn is_reportable(self) -> bool
Indicates whether this category should normally be reported to monitoring.
Trait Implementations§
Source§impl Clone for SoapErrorKind
impl Clone for SoapErrorKind
Source§fn clone(&self) -> SoapErrorKind
fn clone(&self) -> SoapErrorKind
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more