pub enum CommitTransactionError {
BadRequest(String),
Forbidden(String),
InternalServerError(String),
NotFound(String),
ServiceUnavailableError(String),
StatementTimeout(String),
}Expand description
Errors returned by CommitTransaction
Variants§
BadRequest(String)
There is an error in the call or in a SQL statement.
Forbidden(String)
There are insufficient privileges to make the call.
InternalServerError(String)
An internal error occurred.
NotFound(String)
The resourceArn, secretArn, or transactionId value can't be found.
The service specified by the resourceArn parameter is not available.
StatementTimeout(String)
The execution of the SQL statement timed out.
Implementations§
Source§impl CommitTransactionError
impl CommitTransactionError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<CommitTransactionError>
Trait Implementations§
Source§impl Debug for CommitTransactionError
impl Debug for CommitTransactionError
Source§impl Display for CommitTransactionError
impl Display for CommitTransactionError
Source§impl Error for CommitTransactionError
impl Error for CommitTransactionError
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 PartialEq for CommitTransactionError
impl PartialEq for CommitTransactionError
impl StructuralPartialEq for CommitTransactionError
Auto Trait Implementations§
impl Freeze for CommitTransactionError
impl RefUnwindSafe for CommitTransactionError
impl Send for CommitTransactionError
impl Sync for CommitTransactionError
impl Unpin for CommitTransactionError
impl UnwindSafe for CommitTransactionError
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