ibm_watson/text-to-speech/user-data/errors.rs
1use thiserror::Error;
2#[derive(Error, Debug)]
3pub enum DeleteLabeledDataError {
4 /// There was an error establishing the connection
5 #[error("{0}")]
6 ConnectionError(String),
7 /// The request did not pass a customer ID
8 #[error("The request did not pass a customer ID")]
9 BadRequest400,
10 #[error("The service is currently unavailable")]
11 /// The service is currently unavailable
12 ServiceUnavailable503,
13 #[error("The service experienced an internal error")]
14 /// The service experienced an internal error
15 InternalServerError500,
16}