Enum rusoto_dynamodb::QueryError [−][src]
pub enum QueryError { InternalServerError(String), ProvisionedThroughputExceeded(String), ResourceNotFound(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by Query
Variants
InternalServerError(String)
An error occurred on the server side.
ProvisionedThroughputExceeded(String)
Your request rate is too high. The AWS SDKs for DynamoDB automatically retry requests that receive this exception. Your request is eventually successful, unless your retry queue is too large to finish. Reduce the frequency of requests and use exponential backoff. For more information, go to Error Retries and Exponential Backoff in the Amazon DynamoDB Developer Guide.
ResourceNotFound(String)
The operation tried to access a nonexistent table or index. The resource might not be specified correctly, or its status might not be ACTIVE
.
HttpDispatch(HttpDispatchError)
An error occurred dispatching the HTTP request
Credentials(CredentialsError)
An error was encountered with AWS credentials.
Validation(String)
A validation error occurred. Details from AWS are provided.
Unknown(String)
An unknown error occurred. The raw HTTP response is provided.
Methods
impl QueryError
[src]
impl QueryError
pub fn from_body(body: &str) -> QueryError
[src]
pub fn from_body(body: &str) -> QueryError
Trait Implementations
impl Debug for QueryError
[src]
impl Debug for QueryError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for QueryError
[src]
impl PartialEq for QueryError
fn eq(&self, other: &QueryError) -> bool
[src]
fn eq(&self, other: &QueryError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &QueryError) -> bool
[src]
fn ne(&self, other: &QueryError) -> bool
This method tests for !=
.
impl From<Error> for QueryError
[src]
impl From<Error> for QueryError
fn from(err: Error) -> QueryError
[src]
fn from(err: Error) -> QueryError
Performs the conversion.
impl From<CredentialsError> for QueryError
[src]
impl From<CredentialsError> for QueryError
fn from(err: CredentialsError) -> QueryError
[src]
fn from(err: CredentialsError) -> QueryError
Performs the conversion.
impl From<HttpDispatchError> for QueryError
[src]
impl From<HttpDispatchError> for QueryError
fn from(err: HttpDispatchError) -> QueryError
[src]
fn from(err: HttpDispatchError) -> QueryError
Performs the conversion.
impl From<Error> for QueryError
[src]
impl From<Error> for QueryError
fn from(err: Error) -> QueryError
[src]
fn from(err: Error) -> QueryError
Performs the conversion.
impl Display for QueryError
[src]
impl Display for QueryError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for QueryError
[src]
impl Error for QueryError
Auto Trait Implementations
impl Send for QueryError
impl Send for QueryError
impl Sync for QueryError
impl Sync for QueryError