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