pub enum CreateLanguageModelError {
BadRequest(String),
Conflict(String),
InternalFailure(String),
LimitExceeded(String),
}
Expand description
Errors returned by CreateLanguageModel
Variants§
BadRequest(String)
Your request didn't pass one or more validation tests. For example, if the entity that 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)
There is already a resource with that name.
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 CreateLanguageModelError
impl CreateLanguageModelError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<CreateLanguageModelError>
Trait Implementations§
Source§impl Debug for CreateLanguageModelError
impl Debug for CreateLanguageModelError
Source§impl Display for CreateLanguageModelError
impl Display for CreateLanguageModelError
Source§impl Error for CreateLanguageModelError
impl Error for CreateLanguageModelError
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 CreateLanguageModelError
impl PartialEq for CreateLanguageModelError
impl StructuralPartialEq for CreateLanguageModelError
Auto Trait Implementations§
impl Freeze for CreateLanguageModelError
impl RefUnwindSafe for CreateLanguageModelError
impl Send for CreateLanguageModelError
impl Sync for CreateLanguageModelError
impl Unpin for CreateLanguageModelError
impl UnwindSafe for CreateLanguageModelError
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