pub enum UpdateScriptError {
InternalService(String),
InvalidRequest(String),
NotFound(String),
Unauthorized(String),
}Expand description
Errors returned by UpdateScript
Variants§
InternalService(String)
The service encountered an unrecoverable internal failure while processing the request. Clients can retry such requests immediately or after a waiting period.
InvalidRequest(String)
One or more parameter values in the request are invalid. Correct the invalid parameter values before retrying.
NotFound(String)
A service resource associated with the request could not be found. Clients should not retry such requests.
The client failed authentication. Clients should not retry such requests.
Implementations§
Source§impl UpdateScriptError
impl UpdateScriptError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<UpdateScriptError>
Trait Implementations§
Source§impl Debug for UpdateScriptError
impl Debug for UpdateScriptError
Source§impl Display for UpdateScriptError
impl Display for UpdateScriptError
Source§impl Error for UpdateScriptError
impl Error for UpdateScriptError
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 UpdateScriptError
impl PartialEq for UpdateScriptError
impl StructuralPartialEq for UpdateScriptError
Auto Trait Implementations§
impl Freeze for UpdateScriptError
impl RefUnwindSafe for UpdateScriptError
impl Send for UpdateScriptError
impl Sync for UpdateScriptError
impl Unpin for UpdateScriptError
impl UnwindSafe for UpdateScriptError
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