pub enum AddWordError {
BadRequest400,
Unauthorised401(String),
InternalServerError500,
ServiceUnavailable503,
ConnectionError(String),
}
Available on crate feature
tts
only.Variants§
BadRequest400
A required input parameter is null or a specified input parameter or header value is invalid or not supported
The specified customisation_id is invalid for the requesting credentials
InternalServerError500
The service experienced an internal error
The service is currently unavailable
ConnectionError(String)
There was an error establishing the connection
Trait Implementations§
Source§impl Debug for AddWordError
impl Debug for AddWordError
Source§impl Display for AddWordError
impl Display for AddWordError
Source§impl Error for AddWordError
impl Error for AddWordError
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()
Auto Trait Implementations§
impl Freeze for AddWordError
impl RefUnwindSafe for AddWordError
impl Send for AddWordError
impl Sync for AddWordError
impl Unpin for AddWordError
impl UnwindSafe for AddWordError
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