pub enum CreateVocabularyError {
BadRequest(String),
Conflict(String),
InternalFailure(String),
LimitExceeded(String),
}Expand description
Errors returned by CreateVocabulary
Variants§
BadRequest(String)
Your request didn't pass one or more validation tests. For example, if the transcription you're trying to delete doesn't exist or if it is in a non-terminal state (for example, it's "in progress"). See the exception Message field for more information.
Conflict(String)
The resource name already exists.
InternalFailure(String)
There was an internal error. Check the error message and try your request again.
LimitExceeded(String)
Either you have sent too many requests or your input file is too long. Wait before you resend your request, or use a smaller file and resend the request.
Implementations§
Source§impl CreateVocabularyError
impl CreateVocabularyError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<CreateVocabularyError>
Trait Implementations§
Source§impl Debug for CreateVocabularyError
impl Debug for CreateVocabularyError
Source§impl Display for CreateVocabularyError
impl Display for CreateVocabularyError
Source§impl Error for CreateVocabularyError
impl Error for CreateVocabularyError
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 CreateVocabularyError
impl PartialEq for CreateVocabularyError
impl StructuralPartialEq for CreateVocabularyError
Auto Trait Implementations§
impl Freeze for CreateVocabularyError
impl RefUnwindSafe for CreateVocabularyError
impl Send for CreateVocabularyError
impl Sync for CreateVocabularyError
impl Unpin for CreateVocabularyError
impl UnwindSafe for CreateVocabularyError
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